dune-pdelab
2.0.0
|
simple implementation where all entities have the same finite element More...
#include <dune/pdelab/finiteelementmap/finiteelementmap.hh>
Public Types | |
typedef LocalFiniteElementMapTraits < Imp > | Traits |
export type of the signature More... | |
Public Member Functions | |
SimpleLocalFiniteElementMap () | |
Use when Imp has a standard constructor. More... | |
SimpleLocalFiniteElementMap (const Imp &imp_) | |
Constructor where an instance of Imp can be provided. More... | |
template<class EntityType > | |
const Traits::FiniteElementType & | find (const EntityType &e) const |
get local basis functions for entity More... | |
std::size_t | maxLocalSize () const |
compute an upper bound for the local number of DOFs. More... | |
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): | |
bool | fixedSize () const |
a FiniteElementMap is fixedSize iif the size of the local functions space for each GeometryType is fixed. More... | |
std::size_t | size (GeometryType gt) const |
if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType. More... | |
simple implementation where all entities have the same finite element
typedef LocalFiniteElementMapTraits<Imp> Dune::PDELab::SimpleLocalFiniteElementMap< Imp >::Traits |
export type of the signature
|
inline |
Use when Imp has a standard constructor.
|
inline |
Constructor where an instance of Imp can be provided.
|
inline |
get local basis functions for entity
|
inlineinherited |
a FiniteElementMap is fixedSize iif the size of the local functions space for each GeometryType is fixed.
|
inlineinherited |
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.
|
inlineinherited |
if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType.