Reference documentation for deal.II version 9.3.3
|
#include <deal.II/fe/fe_tools.h>
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 |
Subscriptor functionality | |
Classes derived from Subscriptor provide a facility to subscribe to this object. This is mostly used by the SmartPointer class. | |
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) |
using | map_value_type = decltype(counter_map)::value_type |
using | map_iterator = decltype(counter_map)::iterator |
std::atomic< unsigned int > | counter |
std::map< std::string, unsigned int > | counter_map |
std::vector< std::atomic< bool > * > | validity_pointers |
const std::type_info * | object_info |
static std::mutex | mutex |
static ::ExceptionBase & | ExcInUse (int arg1, std::string arg2, std::string arg3) |
static ::ExceptionBase & | ExcNoSubscriber (std::string arg1, std::string arg2) |
void | check_no_subscribers () const noexcept |
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.
Definition at line 86 of file fe_tools.h.
|
overridevirtualdefault |
Virtual destructor doing nothing but making the compiler happy.
|
pure virtual |
Create a FiniteElement and return a pointer to it.
Implemented in FETools::FEFactory< FE >.
|
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 >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, FETools::FEFactory< FE >, and FETools::FEFactory< FE >.