|
static constexpr bool | fixedSize () |
|
static constexpr bool | hasDOFs (int codim)=delete |
| return if FiniteElementMap has degrees of freedom for given codimension More...
|
|
static constexpr std::size_t | maxLocalSize ()=delete |
| compute an upper bound for the local number of DOFs. More...
|
|
|
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):
sum(FEM. size(gt)*GridView. size(gt) for gt in GeometryTypes)
else
sum(FEM. find(E).basis(). size() for E in GridView.entities<0>())
const Traits::FiniteElementType & find(const EntityType &e) const get local basis functions for entity Definition: finiteelementmap.hh:116
static constexpr bool fixedSize() Definition: finiteelementmap/pk1d.hh:36
std::size_t size(GeometryType gt) const Definition: finiteelementmap/pk1d.hh:53
|
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. More...
|
|
template<class D, class 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. |