dune-fem 2.8-git
Public Types | Static Public Attributes | Protected Types | Protected Member Functions | List of all members
Dune::Fem::hpDG::BasisFunctionSets< T > Class Template Reference

abstract interface class for a family of local basis function sets More...

#include <dune/fem/space/basisfunctionset/hpdg/basisfunctionsets.hh>

Inheritance diagram for Dune::Fem::hpDG::BasisFunctionSets< T >:
Inheritance graph

Public Types

using GridPartType = typename Traits::GridPartType
 grid part type More...
 
using KeyType = typename Traits::KeyType
 key type More...
 
using BasisFunctionSetType = typename Traits::BasisFunctionSetType
 basis function set type More...
 
using EntityType = typename BasisFunctionSetType::EntityType
 entity type More...
 
using Types = typename Traits::Types
 a range of geometry types More...
 
using DataType = typename Traits::DataType
 data type More...
 

Public Member Functions

Supported geometry types
Types types () const
 return range of supported geometry types More...
 
Block usage
std::size_t maxBlocks () const
 return maximum number of blocks used More...
 
std::size_t maxBlocks (GeometryType type) const
 return maximum number of blocks used per geometry type More...
 
std::size_t blocks (GeometryType type, const KeyType &key) const
 return number of blocks used More...
 
Communication
DataType encode (const KeyType &key) const
 map key to data type More...
 
KeyType decode (const DataType &data) const
 map data to key type More...
 

Static Public Attributes

static const int localBlockSize = Traits::localBlockSize
 block size More...
 

Protected Types

using Traits = T
 

Protected Member Functions

 BasisFunctionSets ()=default
 
const Traits::ImplementationType & impl () const
 

Basis function sets

int order () const
 return maximum polynomial order More...
 
int order (GeometryType type) const
 return maximum polynomial order per geometry type More...
 
int order (GeometryType type, const KeyType &key) const
 return polynomial order More...
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity, const KeyType &key) const
 return basis function set More...
 
static constexpr bool orthogonal () noexcept
 return true if basis function sets are always orthogonal, false otherwise More...
 

Detailed Description

template<class T>
class Dune::Fem::hpDG::BasisFunctionSets< T >

abstract interface class for a family of local basis function sets

Template Parameters
Ttraits class

Member Typedef Documentation

◆ BasisFunctionSetType

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::BasisFunctionSetType = typename Traits::BasisFunctionSetType

basis function set type

◆ DataType

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::DataType = typename Traits::DataType

data type

◆ EntityType

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::EntityType = typename BasisFunctionSetType::EntityType

entity type

◆ GridPartType

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::GridPartType = typename Traits::GridPartType

grid part type

◆ KeyType

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::KeyType = typename Traits::KeyType

key type

◆ Traits

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::Traits = T
protected

◆ Types

template<class T >
using Dune::Fem::hpDG::BasisFunctionSets< T >::Types = typename Traits::Types

a range of geometry types

Constructor & Destructor Documentation

◆ BasisFunctionSets()

template<class T >
Dune::Fem::hpDG::BasisFunctionSets< T >::BasisFunctionSets ( )
protecteddefault

Member Function Documentation

◆ basisFunctionSet()

template<class T >
BasisFunctionSetType Dune::Fem::hpDG::BasisFunctionSets< T >::basisFunctionSet ( const EntityType entity,
const KeyType key 
) const
inline

return basis function set

◆ blocks()

template<class T >
std::size_t Dune::Fem::hpDG::BasisFunctionSets< T >::blocks ( GeometryType  type,
const KeyType key 
) const
inline

return number of blocks used

◆ decode()

template<class T >
KeyType Dune::Fem::hpDG::BasisFunctionSets< T >::decode ( const DataType data) const
inline

map data to key type

◆ encode()

template<class T >
DataType Dune::Fem::hpDG::BasisFunctionSets< T >::encode ( const KeyType key) const
inline

map key to data type

◆ impl()

template<class T >
const Traits::ImplementationType & Dune::Fem::hpDG::BasisFunctionSets< T >::impl ( ) const
inlineprotected

◆ maxBlocks() [1/2]

template<class T >
std::size_t Dune::Fem::hpDG::BasisFunctionSets< T >::maxBlocks ( ) const
inline

return maximum number of blocks used

◆ maxBlocks() [2/2]

template<class T >
std::size_t Dune::Fem::hpDG::BasisFunctionSets< T >::maxBlocks ( GeometryType  type) const
inline

return maximum number of blocks used per geometry type

◆ order() [1/3]

template<class T >
int Dune::Fem::hpDG::BasisFunctionSets< T >::order ( ) const
inline

return maximum polynomial order

◆ order() [2/3]

template<class T >
int Dune::Fem::hpDG::BasisFunctionSets< T >::order ( GeometryType  type) const
inline

return maximum polynomial order per geometry type

◆ order() [3/3]

template<class T >
int Dune::Fem::hpDG::BasisFunctionSets< T >::order ( GeometryType  type,
const KeyType key 
) const
inline

return polynomial order

◆ orthogonal()

template<class T >
static constexpr bool Dune::Fem::hpDG::BasisFunctionSets< T >::orthogonal ( )
inlinestaticconstexprnoexcept

return true if basis function sets are always orthogonal, false otherwise

◆ types()

template<class T >
Types Dune::Fem::hpDG::BasisFunctionSets< T >::types ( ) const
inline

return range of supported geometry types

Member Data Documentation

◆ localBlockSize

template<class T >
const int Dune::Fem::hpDG::BasisFunctionSets< T >::localBlockSize = Traits::localBlockSize
static

block size


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