Reference documentation for deal.II version 9.4.1
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FETools::FEFactory< FE > Class Template Reference

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

Inheritance diagram for FETools::FEFactory< FE >:
[legend]

Public Member Functions

virtual std::unique_ptr< FiniteElement< FE::dimension, FE::space_dimension > > get (const unsigned int degree) const override
 
virtual std::unique_ptr< FiniteElement< FE::dimension, FE::space_dimension > > get (const Quadrature< 1 > &quad) const override
 
std::unique_ptr< FiniteElement< 1, 1 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 2, 2 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 3, 3 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 1, 1 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 2, 2 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 3, 3 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 1, 1 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 2, 2 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 3, 3 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 1, 1 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 1, 2 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 1, 3 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 2, 2 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 2, 3 > > get (const Quadrature< 1 > &quad) const
 
std::unique_ptr< FiniteElement< 3, 3 > > get (const Quadrature< 1 > &quad) const
 

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 intcounter
 
std::map< std::string, unsigned intcounter_map
 
std::vector< std::atomic< bool > * > validity_pointers
 
const std::type_info * object_info
 
static std::mutex mutex
 
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 
void check_no_subscribers () const noexcept
 

Detailed Description

template<class FE>
class FETools::FEFactory< FE >

A concrete class for factory objects creating finite elements of a given degree.

The class's get() function generates a finite element object of the type given as template argument, and with the degree (however the finite element class wishes to interpret this number) given as argument to get().

Definition at line 119 of file fe_tools.h.

Member Function Documentation

◆ get() [1/17]

template<class FE >
virtual std::unique_ptr< FiniteElement< FE::dimension, FE::space_dimension > > FETools::FEFactory< FE >::get ( const unsigned int  degree) const
overridevirtual

Create a FiniteElement and return a pointer to it.

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

◆ get() [2/17]

template<class FE >
virtual std::unique_ptr< FiniteElement< FE::dimension, FE::space_dimension > > FETools::FEFactory< FE >::get ( const Quadrature< 1 > &  quad) const
overridevirtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

◆ get() [3/17]

std::unique_ptr< FiniteElement< 1, 1 > > FETools::FEFactory< FE_Q< 1, 1 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 30 of file fe_tools.cc.

◆ get() [4/17]

std::unique_ptr< FiniteElement< 2, 2 > > FETools::FEFactory< FE_Q< 2, 2 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 37 of file fe_tools.cc.

◆ get() [5/17]

std::unique_ptr< FiniteElement< 3, 3 > > FETools::FEFactory< FE_Q< 3, 3 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 44 of file fe_tools.cc.

◆ get() [6/17]

std::unique_ptr< FiniteElement< 1, 1 > > FETools::FEFactory< FE_Q_DG0< 1, 1 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 52 of file fe_tools.cc.

◆ get() [7/17]

std::unique_ptr< FiniteElement< 2, 2 > > FETools::FEFactory< FE_Q_DG0< 2, 2 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 59 of file fe_tools.cc.

◆ get() [8/17]

std::unique_ptr< FiniteElement< 3, 3 > > FETools::FEFactory< FE_Q_DG0< 3, 3 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 66 of file fe_tools.cc.

◆ get() [9/17]

std::unique_ptr< FiniteElement< 1, 1 > > FETools::FEFactory< FE_Q_Bubbles< 1, 1 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 74 of file fe_tools.cc.

◆ get() [10/17]

std::unique_ptr< FiniteElement< 2, 2 > > FETools::FEFactory< FE_Q_Bubbles< 2, 2 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 81 of file fe_tools.cc.

◆ get() [11/17]

std::unique_ptr< FiniteElement< 3, 3 > > FETools::FEFactory< FE_Q_Bubbles< 3, 3 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 88 of file fe_tools.cc.

◆ get() [12/17]

std::unique_ptr< FiniteElement< 1, 1 > > FETools::FEFactory< FE_DGQ< 1 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 96 of file fe_tools.cc.

◆ get() [13/17]

std::unique_ptr< FiniteElement< 1, 2 > > FETools::FEFactory< FE_DGQ< 1, 2 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 103 of file fe_tools.cc.

◆ get() [14/17]

std::unique_ptr< FiniteElement< 1, 3 > > FETools::FEFactory< FE_DGQ< 1, 3 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 110 of file fe_tools.cc.

◆ get() [15/17]

std::unique_ptr< FiniteElement< 2, 2 > > FETools::FEFactory< FE_DGQ< 2 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 117 of file fe_tools.cc.

◆ get() [16/17]

std::unique_ptr< FiniteElement< 2, 3 > > FETools::FEFactory< FE_DGQ< 2, 3 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 124 of file fe_tools.cc.

◆ get() [17/17]

std::unique_ptr< FiniteElement< 3, 3 > > FETools::FEFactory< FE_DGQ< 3 > >::get ( const Quadrature< 1 > &  quad) const
virtual

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

Implements FETools::FEFactoryBase< FE::dimension, FE::space_dimension >.

Definition at line 131 of file fe_tools.cc.


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