dune-pdelab 2.7-git
|
interface for a finite element map More...
#include <dune/pdelab/finiteelementmap/finiteelementmap.hh>
Public Types | |
typedef T | Traits |
Export traits. | |
Public Member Functions | |
template<class EntityType > | |
const Traits::FiniteElementType & | find (const EntityType &e) const =delete |
Return local basis for the given entity. | |
Static Public Member Functions | |
static constexpr bool | hasDOFs (int codim)=delete |
return if FiniteElementMap has degrees of freedom for given codimension | |
static constexpr std::size_t | maxLocalSize ()=delete |
compute an upper bound for the local number of DOFs. | |
Size calculation | |
The FiniteElementMap provides different methods to compute the size of the GridFunctionSpace (if possible) without iterating the grid. The approach is as follows (pseudo code): computeNumberOfDofs(GridView, FEM):
if(FEM.fixedSize()):
else
static constexpr bool fixedSize()=delete a FiniteElementMap is fixedSize iif the size of the local functions space for each GeometryType is fi... const Traits::FiniteElementType & find(const EntityType &e) const =delete Return local basis for the given entity. static constexpr std::size_t size(GeometryType gt)=delete if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given Geometry... | |
static constexpr int | dimension = -1 |
dimension of the domain this FEM is defined on. | |
static constexpr bool | fixedSize ()=delete |
a FiniteElementMap is fixedSize iif the size of the local functions space for each GeometryType is fixed. | |
static constexpr std::size_t | size (GeometryType gt)=delete |
if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType. | |
interface for a finite element map
typedef T Dune::PDELab::LocalFiniteElementMapInterface< T, Imp >::Traits |
Export traits.
|
delete |
Return local basis for the given entity.
The return value is a reference to Traits::LocalBasisType. If there is a different local basis for two elements then this type must be polymorphic.
|
staticconstexprdelete |
a FiniteElementMap is fixedSize iif the size of the local functions space for each GeometryType is fixed.
|
staticconstexprdelete |
return if FiniteElementMap has degrees of freedom for given codimension
|
staticconstexprdelete |
compute an upper bound for the local number of DOFs.
this upper bound is used to avoid reallocations in std::vectors used during the assembly.
|
staticconstexprdelete |
if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType.
|
staticconstexpr |
dimension of the domain this FEM is defined on.