dune-localfunctions 2.10
Loading...
Searching...
No Matches
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.
 

Public Member Functions

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

Protected Types

typedef P0LocalFiniteElement< D, R, dim >::Traits::LocalBasisType::Traits T
 
typedef LocalFiniteElementVirtualInterface< TFE
 
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

◆ FE

template<class D , class R , int dim, int k>
typedef LocalFiniteElementVirtualInterface<T> Dune::PQkLocalFiniteElementCache< D, R, dim, k >::FE
protected

◆ FEMap

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

◆ FiniteElementType

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.

◆ T

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

Constructor & Destructor Documentation

◆ PQkLocalFiniteElementCache() [1/2]

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

Default constructor.

◆ PQkLocalFiniteElementCache() [2/2]

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

Copy constructor.

◆ ~PQkLocalFiniteElementCache()

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

Member Function Documentation

◆ get()

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

Get local finite element for given GeometryType.

Member Data Documentation

◆ cache_

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: