Reference documentation for deal.II version Git bef661081b 2019-09-23 12:55:27 -0400
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | List of all members
FETools::FEFactoryBase< dim, spacedim > Class Template Referenceabstract

#include <deal.II/fe/fe_tools.h>

Inheritance diagram for FETools::FEFactoryBase< dim, spacedim >:
[legend]

Public Member Functions

virtual std::unique_ptr< FiniteElement< dim, spacedim > > get (const unsigned int degree) const =0
 
virtual std::unique_ptr< FiniteElement< dim, spacedim > > get (const Quadrature< 1 > &quad) const =0
 
virtual ~FEFactoryBase () override=default
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&) noexcept
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&) noexcept
 
void subscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
void unsubscribe (std::atomic< bool > *const validity, const std::string &identifier="") const
 
unsigned int n_subscriptions () const
 
template<typename StreamType >
void list_subscribers (StreamType &stream) const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Additional Inherited Members

- Static Public Member Functions inherited from Subscriptor
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 

Detailed Description

template<int dim, int spacedim = dim>
class FETools::FEFactoryBase< dim, spacedim >

A base class for factory objects creating finite elements of a given degree. Derived classes are called whenever one wants to have a transparent way to create a finite element object.

This class is used in the FETools::get_fe_by_name() and FETools::add_fe_name() functions.

Author
Guido Kanschat, 2006

Definition at line 91 of file fe_tools.h.

Constructor & Destructor Documentation

◆ ~FEFactoryBase()

template<int dim, int spacedim = dim>
virtual FETools::FEFactoryBase< dim, spacedim >::~FEFactoryBase ( )
overridevirtualdefault

Virtual destructor doing nothing but making the compiler happy.

Member Function Documentation

◆ get() [1/2]

template<int dim, int spacedim = dim>
virtual std::unique_ptr<FiniteElement<dim, spacedim> > FETools::FEFactoryBase< dim, spacedim >::get ( const unsigned int  degree) const
pure virtual

Create a FiniteElement and return a pointer to it.

Implemented in FETools::FEFactory< FE >.

◆ get() [2/2]

template<int dim, int spacedim = dim>
virtual std::unique_ptr<FiniteElement<dim, spacedim> > FETools::FEFactoryBase< dim, spacedim >::get ( const Quadrature< 1 > &  quad) const
pure virtual

Create a FiniteElement from a quadrature formula (currently only implemented for FE_Q) and return a pointer to it.

Implemented in FETools::FEFactory< FE >.


The documentation for this class was generated from the following file: