DUNE PDELab (2.8)
Dune::PDELab::Pk1dLocalFiniteElementMap< D, R > Class Template Reference
FiniteElementMap for the Pk basis in 1d. More...
#include <dune/pdelab/finiteelementmap/pk1d.hh>
Public Types | |
typedef LocalFiniteElementMapTraits< LagrangeLocalFiniteElement< EquidistantPointSet, 1, D, R > > | Traits |
export type of the signature | |
Public Member Functions | |
const Traits::FiniteElementType & | find (const EntityType &e) const |
get local basis functions for 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. 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): computeNumberOfDofs(GridView, FEM):
if(FEM.fixedSize()):
else
const Traits::FiniteElementType & find(const EntityType &e) const get local basis functions for entity Definition: finiteelementmap.hh:116 bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon) test if first greater than second Definition: float_cmp.cc:156 | |
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. | |
Detailed Description
template<class D, class R>
class Dune::PDELab::Pk1dLocalFiniteElementMap< D, R >
class Dune::PDELab::Pk1dLocalFiniteElementMap< D, R >
FiniteElementMap for the Pk basis in 1d.
- Note
- k is a runtime variable.
- Template Parameters
-
D Type to represent domain. R Type to represent range.
Member Function Documentation
◆ maxLocalSize()
|
staticconstexprdeleteinherited |
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.
The documentation for this class was generated from the following file:
- dune/pdelab/finiteelementmap/pk1d.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)