dune-localfunctions  2.2.1
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Dune::PQkLocalFiniteElementCache< D, R, dim, k > Class Template Reference

A cache that stores all available Pk/Qk like local finite elements for the given dimension and order. More...

#include <dune/localfunctions/lagrange/pqkfactory.hh>

Public Types

typedef FE FiniteElementType
 Type of the finite elements stored in this cache. More...
 

Public Member Functions

 PQkLocalFiniteElementCache ()
 Default constructor. More...
 
 PQkLocalFiniteElementCache (const PQkLocalFiniteElementCache &other)
 Copy constructor. More...
 
 ~PQkLocalFiniteElementCache ()
 
const FiniteElementTypeget (const GeometryType &gt) const
 Get local finite element for given GeometryType. More...
 

Protected Types

typedef
FixedOrderLocalBasisTraits
< typename
P0LocalFiniteElement< D, R,
dim >
::Traits::LocalBasisType::Traits, 0 >
::Traits 
T
 
typedef
LocalFiniteElementVirtualInterface
< T
FE
 
typedef std::map< GeometryType,
FE * > 
FEMap
 

Protected Attributes

FEMap cache_
 

Detailed Description

template<class D, class R, int dim, int k>
class Dune::PQkLocalFiniteElementCache< D, R, dim, k >

A cache that stores all available Pk/Qk like local finite elements for the given dimension and order.

An interface for dealing with different vertex orders is currently missing. So you can in general only use this for order=1,2 or with global DG spaces

Template Parameters
DType used for domain coordinates
RType used for shape function values
dimElement dimension
kElement order

Member Typedef Documentation

template<class D , class R , int dim, int k>
typedef LocalFiniteElementVirtualInterface<T> Dune::PQkLocalFiniteElementCache< D, R, dim, k >::FE
protected
template<class D , class R , int dim, int k>
typedef std::map<GeometryType,FE*> Dune::PQkLocalFiniteElementCache< D, R, dim, k >::FEMap
protected
template<class D , class R , int dim, int k>
typedef FE Dune::PQkLocalFiniteElementCache< D, R, dim, k >::FiniteElementType

Type of the finite elements stored in this cache.

template<class D , class R , int dim, int k>
typedef FixedOrderLocalBasisTraits<typename P0LocalFiniteElement<D,R,dim>::Traits::LocalBasisType::Traits,0>::Traits Dune::PQkLocalFiniteElementCache< D, R, dim, k >::T
protected

Constructor & Destructor Documentation

template<class D , class R , int dim, int k>
Dune::PQkLocalFiniteElementCache< D, R, dim, k >::PQkLocalFiniteElementCache ( )
inline

Default constructor.

template<class D , class R , int dim, int k>
Dune::PQkLocalFiniteElementCache< D, R, dim, k >::PQkLocalFiniteElementCache ( const PQkLocalFiniteElementCache< D, R, dim, k > &  other)
inline
template<class D , class R , int dim, int k>
Dune::PQkLocalFiniteElementCache< D, R, dim, k >::~PQkLocalFiniteElementCache ( )
inline

Member Function Documentation

template<class D , class R , int dim, int k>
const FiniteElementType& Dune::PQkLocalFiniteElementCache< D, R, dim, k >::get ( const GeometryType &  gt) const
inline

Member Data Documentation

template<class D , class R , int dim, int k>
FEMap Dune::PQkLocalFiniteElementCache< D, R, dim, k >::cache_
mutableprotected

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