#include <dune/pdelab/finiteelementmap/p0fem.hh>
|
| | P0LocalFiniteElementMap (const Dune::GeometryType &type) |
| |
| std::size_t | size (GeometryType gt) const |
| |
| const Traits::FiniteElementType & | find (const EntityType &e) const |
| | get local basis functions for entity More...
|
| |
|
| static constexpr bool | fixedSize () |
| |
| static constexpr bool | hasDOFs (int codim) |
| |
| static constexpr std::size_t | maxLocalSize () |
| |
|
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
std::size_t size(GeometryType gt) const Definition: p0fem.hh:37
static constexpr bool fixedSize() Definition: p0fem.hh:27
|
| 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, int d>
class Dune::PDELab::P0LocalFiniteElementMap< D, R, d >
wrap up element from local functions
- Examples
- recipe-operator-splitting.cc.
◆ Traits
export type of the signature
◆ P0LocalFiniteElementMap()
template<class D , class R , int d>
◆ find()
get local basis functions for entity
◆ fixedSize()
template<class D , class R , int d>
◆ hasDOFs()
template<class D , class R , int d>
◆ maxLocalSize()
template<class D , class R , int d>
◆ size() [1/2]
template<class D , class R , int d>
◆ size() [2/2]
template<class T , class Imp >
|
|
staticconstexprdeleteinherited |
if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType.
◆ dimension
The documentation for this class was generated from the following file: