DUNE-FEM (unstable)
legendre.hh
36 template< class FunctionSpace, class GridPart, int maxOrder, bool hierarchicalOrdering, class Storage >
49 using ThisType = LegendreShapeFunctionSets< FunctionSpace, order, hierarchicalOrdering, Storage >;
53 Dune::Fem::SelectCachingShapeFunctionSet< LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >, Storage >;
59 shapeFunctionSets_[ p ].reset( new ShapeFunctionSetType( type(), typename ShapeFunctionSetType::ImplementationType( p ) ) );
88 template< class FunctionSpace, class GridPart, int maxOrder, bool hierarchicalOrdering, class Storage >
92 using ImplementationType = LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >;
102 using ShapeFunctionSetsType = LegendreShapeFunctionSets< Dune::Fem::FunctionSpace< typename FunctionSpace::DomainFieldType, typename FunctionSpace::RangeFieldType, EntityType::mydimension, 1 >, maxOrder, hierarchicalOrdering, Storage >;
103 using ShapeFunctionSetType = Dune::Fem::VectorialShapeFunctionSet< Dune::Fem::ShapeFunctionSetProxy< typename ShapeFunctionSetsType::ShapeFunctionSetType >, typename FunctionSpace::RangeType >;
128 template< class FunctionSpace, class GridPart, int maxOrder, bool hierarchicalOrdering, class Storage >
130 : public BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >
132 using ThisType = LegendreBasisFunctionSets< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage >;
133 using BaseType = BasisFunctionSets< LegendreBasisFunctionSetsTraits< FunctionSpace, GridPart, maxOrder, hierarchicalOrdering, Storage > >;
FunctionSpaceTraits::RangeType RangeType
Type of range vector (using type of range field) has a Dune::FieldVector type interface.
Definition: functionspaceinterface.hh:71
@ dimDomain
dimension of domain vector space
Definition: functionspaceinterface.hh:46
abstract interface class for a family of local basis function sets
Definition: basisfunctionsets.hh:30
typename Traits::DataType DataType
data type
Definition: basisfunctionsets.hh:53
typename Traits::Types Types
a range of geometry types
Definition: basisfunctionsets.hh:47
typename Traits::BasisFunctionSetType BasisFunctionSetType
basis function set type
Definition: basisfunctionsets.hh:42
typename BasisFunctionSetType::EntityType EntityType
entity type
Definition: basisfunctionsets.hh:44
typename Traits::KeyType KeyType
key type
Definition: basisfunctionsets.hh:39
typename Traits::GridPartType GridPartType
grid part type
Definition: basisfunctionsets.hh:36
A family of local product basis function sets.
Definition: legendre.hh:131
typename BaseType::BasisFunctionSetType BasisFunctionSetType
basis function set
Definition: legendre.hh:147
BasisFunctionSetType basisFunctionSet(const EntityType &entity, KeyType key) const
return basis function set for given entity
Definition: legendre.hh:214
typename BaseType::KeyType KeyType
Definition: legendre.hh:150
int order(GeometryType type, KeyType key) const
return maximum order
Definition: legendre.hh:207
typename BaseType::EntityType EntityType
entity type
Definition: legendre.hh:139
static constexpr int order() noexcept
return maximum order
Definition: legendre.hh:201
LegendreBasisFunctionSets(const ThisType &)=default
copy constructor
std::size_t blocks(GeometryType type, KeyType key) const
Definition: legendre.hh:182
std::size_t maxBlocks() const
Definition: legendre.hh:170
static constexpr int order(GeometryType type) noexcept
return maximum order
Definition: legendre.hh:204
typename BaseType::GridPartType GridPartType
Definition: legendre.hh:137
LegendreBasisFunctionSets()=default
constructor
BaseType::Types types() const
Definition: legendre.hh:164
std::size_t maxBlocks(GeometryType type) const
Definition: legendre.hh:176
static KeyType decode(const DataType &data) noexcept
Definition: legendre.hh:191
static constexpr bool orthogonal() noexcept
Definition: legendre.hh:194
LegendreBasisFunctionSets(ThisType &&)=default
move constructor
static DataType encode(const KeyType &key) noexcept
Definition: legendre.hh:188
typename BaseType::DataType DataType
Definition: legendre.hh:152
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
constexpr unsigned int dim() const
Return dimension of the type.
Definition: type.hh:360
constexpr bool isCube() const
Return true if entity is a cube of any dimension.
Definition: type.hh:324
A set of traits classes to store static information about grid implementation.
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:132
constexpr GeometryType cube(unsigned int dim)
Returns a GeometryType representing a hypercube of dimension dim.
Definition: type.hh:462
constexpr auto get(std::integer_sequence< T, II... >, std::integral_constant< std::size_t, pos >={})
Return the entry at position pos of the given sequence.
Definition: integersequence.hh:22
Provides a proxy class for pointers to a shape function set.
Specialize with 'true' if the grid is a Cartesian grid. Cartesian grids satisfy the following propert...
Definition: capabilities.hh:48
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)