dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP > Class Template Reference

FiniteElementMap which provides PkQkLocalFiniteElement instances, depending on the geometry type. More...

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

Public Types

typedef FiniteElementMapTraits< FiniteElementType > Traits
 

Public Member Functions

 PkQkLocalFiniteElementMap ()
 Default constructor. Constructs a space of order maxP.
 
 PkQkLocalFiniteElementMap (unsigned int order)
 Construct a space with a given order.
 
template<class EntityType >
const Traits::FiniteElementType & find (const EntityType &e) const
 get local basis functions for entity
 
const Traits::FiniteElementType & getFEM (Dune::GeometryType gt) const
 get local basis functions for a given geometrytype
 
bool hasDOFs (int codim) const
 
std::size_t size (GeometryType gt) const
 

Static Public Member Functions

static constexpr bool fixedSize ()
 
static constexpr std::size_t maxLocalSize ()
 

Static Public Attributes

static constexpr int dimension = d
 The dimension of the finite elements returned by this map.
 

Detailed Description

template<class D, class R, int d, int maxP = 6>
class Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >

FiniteElementMap which provides PkQkLocalFiniteElement instances, depending on the geometry type.

Template Parameters
DType used for coordinates
RType used for shape function values
dGrid dimension
maxPApproximation order: if you construct an object of this class with its default constructor, then this number is the approximation order that you get. If you construct an object giving an order at run-time, then maxP is the maximal order that you can request.

Member Typedef Documentation

◆ Traits

template<class D , class R , int d, int maxP = 6>
typedef FiniteElementMapTraits<FiniteElementType> Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::Traits

Constructor & Destructor Documentation

◆ PkQkLocalFiniteElementMap() [1/2]

template<class D , class R , int d, int maxP = 6>
Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::PkQkLocalFiniteElementMap ( )
inline

Default constructor. Constructs a space of order maxP.

◆ PkQkLocalFiniteElementMap() [2/2]

template<class D , class R , int d, int maxP = 6>
Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::PkQkLocalFiniteElementMap ( unsigned int  order)
inline

Construct a space with a given order.

Exceptions
Dune::Exceptionif the requested order is larger than maxP

Member Function Documentation

◆ find()

template<class D , class R , int d, int maxP = 6>
template<class EntityType >
const Traits::FiniteElementType & Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::find ( const EntityType &  e) const
inline

get local basis functions for entity

◆ fixedSize()

template<class D , class R , int d, int maxP = 6>
static constexpr bool Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::fixedSize ( )
inlinestaticconstexpr

◆ getFEM()

template<class D , class R , int d, int maxP = 6>
const Traits::FiniteElementType & Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::getFEM ( Dune::GeometryType  gt) const
inline

get local basis functions for a given geometrytype

◆ hasDOFs()

template<class D , class R , int d, int maxP = 6>
bool Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::hasDOFs ( int  codim) const
inline

◆ maxLocalSize()

template<class D , class R , int d, int maxP = 6>
static constexpr std::size_t Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::maxLocalSize ( )
inlinestaticconstexpr

◆ size()

template<class D , class R , int d, int maxP = 6>
std::size_t Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::size ( GeometryType  gt) const
inline

Member Data Documentation

◆ dimension

template<class D , class R , int d, int maxP = 6>
constexpr int Dune::PDELab::PkQkLocalFiniteElementMap< D, R, d, maxP >::dimension = d
staticconstexpr

The dimension of the finite elements returned by this map.


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