DUNE PDELab (git)

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

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

Public Types

typedef LocalFiniteElementMapTraits< Dune::MonomialLocalFiniteElement< D, R, d, p > > 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:66
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:158
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, int p>
class Dune::PDELab::MonomLocalFiniteElementMap< D, R, d, p >

wrap up element from local functions


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 (Nov 12, 23:30, 2024)