dune-fem 2.8-git
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | List of all members
Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > Class Template Reference

A family of local product basis function sets. More...

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

Inheritance diagram for Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >:
Inheritance graph

Public Types

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

Public Member Functions

 LegendreBasisFunctionSets ()=default
 constructor More...
 
 LegendreBasisFunctionSets (const ThisType &)=default
 copy constructor More...
 
 LegendreBasisFunctionSets (ThisType &&)=default
 move constructor More...
 
BaseType::Types types () const
 
std::size_t maxBlocks () const
 
std::size_t maxBlocks (GeometryType type) const
 
std::size_t blocks (GeometryType type, KeyType key) const
 
int order (GeometryType type, KeyType key) const
 return maximum order More...
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity, KeyType key) const
 return basis function set for given entity More...
 
Block usage
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...
 
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 Public Member Functions

static DataType encode (const KeyType &key) noexcept
 
static KeyType decode (const DataType &data) noexcept
 
static constexpr bool orthogonal () noexcept
 
static constexpr int order () noexcept
 return maximum order More...
 
static constexpr int order (GeometryType type) noexcept
 return maximum order More...
 

Static Public Attributes

static const int localBlockSize
 block size More...
 

Protected Types

using Traits = LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >
 

Protected Member Functions

const Traits::ImplementationType & impl () const
 

Detailed Description

template<class FunctionSpace, class GridPart, int maxOrder, bool hierarchicalOrdering, class Storage>
class Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >

A family of local product basis function sets.

Note
This BasisFunctionSets object can be used only with cubic grids.
Template Parameters
FunctionSpacea Dune::Fem::FunctionSpace
GridParta Dune::Fem::GridPart
maxOrdermaximum order
Storagefor certain caching features

Member Typedef Documentation

◆ BasisFunctionSetType

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
using Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::BasisFunctionSetType = typename BaseType::BasisFunctionSetType

basis function set

◆ DataType

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
using Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::DataType = typename BaseType::DataType

◆ EntityType

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
using Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::EntityType = typename BaseType::EntityType

entity type

◆ GridPartType

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
using Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::GridPartType = typename BaseType::GridPartType

◆ KeyType

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
using Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::KeyType = typename BaseType::KeyType

◆ Traits

using Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::Traits = LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >
protectedinherited

◆ Types

using Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::Types = typename Traits::Types
inherited

a range of geometry types

Constructor & Destructor Documentation

◆ LegendreBasisFunctionSets() [1/3]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::LegendreBasisFunctionSets ( )
default

constructor

◆ LegendreBasisFunctionSets() [2/3]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::LegendreBasisFunctionSets ( const ThisType )
default

copy constructor

◆ LegendreBasisFunctionSets() [3/3]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::LegendreBasisFunctionSets ( ThisType &&  )
default

move constructor

Member Function Documentation

◆ basisFunctionSet() [1/2]

BasisFunctionSetType Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::basisFunctionSet ( const EntityType entity,
const KeyType key 
) const
inlineinherited

return basis function set

◆ basisFunctionSet() [2/2]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
BasisFunctionSetType Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::basisFunctionSet ( const EntityType entity,
KeyType  key 
) const
inline

return basis function set for given entity

◆ blocks() [1/2]

std::size_t Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::blocks ( GeometryType  type,
const KeyType key 
) const
inlineinherited

return number of blocks used

◆ blocks() [2/2]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
std::size_t Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::blocks ( GeometryType  type,
KeyType  key 
) const
inline

◆ decode() [1/2]

KeyType Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::decode ( const DataType data) const
inlineinherited

map data to key type

◆ decode() [2/2]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
static KeyType Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::decode ( const DataType data)
inlinestaticnoexcept

◆ encode() [1/2]

DataType Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::encode ( const KeyType key) const
inlineinherited

map key to data type

◆ encode() [2/2]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
static DataType Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::encode ( const KeyType key)
inlinestaticnoexcept

◆ impl()

const Traits::ImplementationType & Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::impl ( ) const
inlineprotectedinherited

◆ maxBlocks() [1/2]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
std::size_t Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::maxBlocks ( ) const
inline

◆ maxBlocks() [2/2]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
std::size_t Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::maxBlocks ( GeometryType  type) const
inline

◆ order() [1/6]

int Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::order ( ) const
inlineinherited

return maximum polynomial order

◆ order() [2/6]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
static constexpr int Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::order ( )
inlinestaticconstexprnoexcept

return maximum order

◆ order() [3/6]

int Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::order ( GeometryType  type) const
inlineinherited

return maximum polynomial order per geometry type

◆ order() [4/6]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
static constexpr int Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::order ( GeometryType  type)
inlinestaticconstexprnoexcept

return maximum order

◆ order() [5/6]

int Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::order ( GeometryType  type,
const KeyType key 
) const
inlineinherited

return polynomial order

◆ order() [6/6]

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
int Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::order ( GeometryType  type,
KeyType  key 
) const
inline

return maximum order

◆ orthogonal()

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
static constexpr bool Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::orthogonal ( )
inlinestaticconstexprnoexcept

◆ types()

template<class FunctionSpace , class GridPart , int maxOrder, bool hierarchicalOrdering, class Storage >
BaseType::Types Dune::Fem::hpDG::LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >::types ( ) const
inline

Member Data Documentation

◆ localBlockSize

const int Dune::Fem::hpDG::BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >::localBlockSize
staticinherited

block size


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