dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 > Class Template Reference

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

Inheritance diagram for Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >:
Inheritance graph

Public Types

typedef LocalFiniteElementMapTraits< FE > Traits
 export type of the signature More...
 

Public Member Functions

 PkLocalFiniteElementMapBase (const GV &gv)
 
template<typename Entity >
const Traits::FiniteElementTypefind (const Entity &e) const
 get local basis functions for entity More...
 
const Traits::FiniteElementTypefind (const EntityType &e) const=delete
 Return local basis for the given entity. More...
 

Static Public Member Functions

static constexpr bool fixedSize ()
 
static constexpr bool hasDOFs (int codim)
 
static constexpr std::size_t size (GeometryType gt)
 
static constexpr std::size_t maxLocalSize ()
 

Static Public Attributes

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>())
static constexpr std::size_t size(GeometryType gt)
Definition: pkfem.hh:253
static constexpr bool fixedSize()
Definition: pkfem.hh:230
const Traits::FiniteElementType & find(const Entity &e) const
get local basis functions for entity
Definition: pkfem.hh:205
static constexpr int dimension
 dimension of the domain this FEM is defined on. More...
 

Member Typedef Documentation

◆ Traits

template<typename GV , typename D , typename R , unsigned int k>
typedef LocalFiniteElementMapTraits<FE> Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::Traits

export type of the signature

Constructor & Destructor Documentation

◆ PkLocalFiniteElementMapBase()

template<typename GV , typename D , typename R , unsigned int k>
Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::PkLocalFiniteElementMapBase ( const GV &  gv)
inline

Member Function Documentation

◆ find() [1/2]

template<typename GV , typename D , typename R , unsigned int k>
template<typename Entity >
const Traits::FiniteElementType & Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::find ( const Entity &  e) const
inline

get local basis functions for entity

◆ find() [2/2]

const Traits::FiniteElementType & Dune::PDELab::LocalFiniteElementMapInterface< LocalFiniteElementMapTraits< Dune::LagrangeSimplexLocalFiniteElement< D, R, 3, k > > , PkLocalFiniteElementMapBase< GV, D, R, k, 3 > >::find ( const EntityType &  e) const
deleteinherited

Return local basis for the given entity.

The return value is a reference to Traits::LocalBasisType. If there is a different local basis for two elements then this type must be polymorphic.

◆ fixedSize()

template<typename GV , typename D , typename R , unsigned int k>
static constexpr bool Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::fixedSize ( )
inlinestaticconstexpr

◆ hasDOFs()

template<typename GV , typename D , typename R , unsigned int k>
static constexpr bool Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::hasDOFs ( int  codim)
inlinestaticconstexpr

◆ maxLocalSize()

template<typename GV , typename D , typename R , unsigned int k>
static constexpr std::size_t Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::maxLocalSize ( )
inlinestaticconstexpr

◆ size()

template<typename GV , typename D , typename R , unsigned int k>
static constexpr std::size_t Dune::PDELab::fem::PkLocalFiniteElementMapBase< GV, D, R, k, 3 >::size ( GeometryType  gt)
inlinestaticconstexpr

Member Data Documentation

◆ dimension

constexpr int Dune::PDELab::LocalFiniteElementMapInterface< LocalFiniteElementMapTraits< Dune::LagrangeSimplexLocalFiniteElement< D, R, 3, k > > , PkLocalFiniteElementMapBase< GV, D, R, k, 3 > >::dimension
staticconstexprinherited

dimension of the domain this FEM is defined on.


The documentation for this class was generated from the following file: