|
| EdgeS0LocalFiniteElementMap (const GV &gv_) |
| construct EdgeSLocalFiniteElementMap 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...
|
|
|
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>()) |
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...
|
|
template<typename GV, typename FE, typename Imp>
class Dune::PDELab::EdgeS0LocalFiniteElementMap< GV, FE, Imp >
implementation for finite elements requiring oriented edges
This is for edge elements. It works for one type of Geometry only, and the requirements for the local finite element are:
- The default orientation of the shape functions on the edges must be from the vertex with the lower index within the reference element to the vertex with the higher index.
- The local finite element must allow assignment.
- The local finite element must have a default constructor.
- the local finite element hust have a constructor of the form FE(unsigned int orientation), where orientation is a bitfield. If bit i in orientation is set it means that the orientation of the shape function corresponding to the edge with id i in the reference element is inverted.
- Template Parameters
-
GV | Type of gridview to work with |
FE | Type of local finite element |
Imp | Type of the final LocalFiniteElementMap implementation |