DUNE-FEM (unstable)

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>

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
 

Public Member Functions

 LegendreBasisFunctionSets ()=default
 constructor
 
 LegendreBasisFunctionSets (const ThisType &)=default
 copy constructor
 
 LegendreBasisFunctionSets (ThisType &&)=default
 move constructor
 
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
 
Communication
DataType encode (const KeyType &key) const
 map key to data type
 
KeyType decode (const DataType &data) const
 map data to key type
 
Basis function sets
int order () const
 return maximum polynomial order
 
int order (GeometryType type) const
 return maximum polynomial order per geometry type
 
int order (GeometryType type, const KeyType &key) const
 return polynomial order
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity, const KeyType &key) const
 return basis function set
 

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
 

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

Member Function Documentation

◆ basisFunctionSet()

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()

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()

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()

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

◆ 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/3]

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() [2/3]

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

◆ order() [3/3]

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

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)