DUNE PDELab (2.8)

Dune::PDELab::P0LocalFiniteElementMap< D, R, d > Class Template Reference

#include <dune/pdelab/finiteelementmap/p0fem.hh>

Public Types

typedef LocalFiniteElementMapTraits< Dune::P0LocalFiniteElement< D, R, d > > Traits
 export type of the signature
 

Public Member Functions

const Traits::FiniteElementTypefind (const EntityType &e) const
 get local basis functions for entity
 

Static Public Member Functions

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()):
sum(FEM.size(gt)*GridView.size(gt) for gt in GeometryTypes)
else
sum(FEM.find(E).basis().size() for E in GridView.entities<0>())
Grid view abstract base class.
Definition: gridview.hh:63
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, int d>
class Dune::PDELab::P0LocalFiniteElementMap< D, R, d >

wrap up element from local functions

Examples
recipe-operator-splitting.cc.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)