1 #ifndef DUNE_FEM_SPACE_DISCONTINUOUSGALERKIN_BASISFUNCTIONSETS_HH 2 #define DUNE_FEM_SPACE_DISCONTINUOUSGALERKIN_BASISFUNCTIONSETS_HH 6 #include <dune/common/documentation.hh> 60 int order (
const EntityType &entity )
const;
81 template<
class Gr
idPart,
class ShapeFunctionSets >
96 static const int dimension = GridPartType::dimension;
97 static const int mydimension = ShapeFunctionSetType::FunctionSpaceType::dimDomain;
98 static const int codimension = dimension - mydimension;
102 typedef typename GridPartType::template Codim< codimension >::EntityType
EntityType;
113 : shapeFunctionSets_(
std::forward< ShapeFunctionSetsType >( shapeFunctionSets ) )
116 template<
class... Args >
118 : shapeFunctionSets_(
std::forward< Args >( args )... )
132 : shapeFunctionSets_(
std::
move( other.shapeFunctionSets_ ) )
144 int order ()
const {
return shapeFunctionSets_.order(); }
147 int order (
const EntityType &entity )
const 149 return shapeFunctionSets_.order( entity.type() );
161 ShapeFunctionSetType shapeFunctionSet (
const Dune::GeometryType &type )
const 163 return shapeFunctionSets_.shapeFunctionSet( type );
166 ShapeFunctionSetsType shapeFunctionSets_;
173 #endif // #ifndef DUNE_FEM_SPACE_DISCONTINUOUSGALERKIN_BASISFUNCTIONSETS_HH
ShapeFunctionSetsType::ShapeFunctionSetType ShapeFunctionSetType
shape function set type
Definition: discontinuousgalerkin/basisfunctionsets.hh:93
Dune::Fem::DefaultBasisFunctionSet< EntityType, ShapeFunctionSetType > BasisFunctionSetType
entity type
Definition: discontinuousgalerkin/basisfunctionsets.hh:105
DefaultBasisFunctionSets(ShapeFunctionSetsType &&shapeFunctionSets)
Definition: discontinuousgalerkin/basisfunctionsets.hh:112
interface class representing a family of shape function sets
Definition: shapefunctionsets.hh:32
ShapeFunctionSets ShapeFunctionSetsType
shape function sets type
Definition: discontinuousgalerkin/basisfunctionsets.hh:91
BasisFunctionSetType basisFunctionSet(const EntityType &entity) const
return basis function set for given entity
interface class representing a family of basis function sets
Definition: discontinuousgalerkin/basisfunctionsets.hh:23
int order() const
return maximum order
Definition: discontinuousgalerkin/basisfunctionsets.hh:144
GridPartType::template Codim< codimension >::EntityType EntityType
entity type
Definition: discontinuousgalerkin/basisfunctionsets.hh:102
int order() const
return maximum order
Definition: coordinate.hh:4
BasisFunctionSetType basisFunctionSet(const EntityType &entity) const
return basis function set for given entity
Definition: discontinuousgalerkin/basisfunctionsets.hh:153
DefaultBasisFunctionSets(ThisType &&other)
Definition: discontinuousgalerkin/basisfunctionsets.hh:131
BasisFunctionSets(BasisFunctionSets &&)
move constructor
BasisFunctionSets & operator=(const BasisFunctionSets &)=delete
assignment constructor
int order(const EntityType &entity) const
return maximum order
Definition: discontinuousgalerkin/basisfunctionsets.hh:147
ImplementationDefined BasisFunctionSetType
basis function set
Definition: discontinuousgalerkin/basisfunctionsets.hh:27
void move(ArrayInterface< T > &array, const unsigned int oldOffset, const unsigned int newOffset, const unsigned int length)
Definition: array_inline.hh:38
ImplementationDefined EntityType
entity type
Definition: discontinuousgalerkin/basisfunctionsets.hh:29
generate a set of default basis function sets from given set of shape function sets ...
Definition: discontinuousgalerkin/basisfunctionsets.hh:82
DefaultBasisFunctionSets(Args &&...args)
Definition: discontinuousgalerkin/basisfunctionsets.hh:117
ImplementationDefined ShapeFunctionSetType
shape function set type
Definition: shapefunctionsets.hh:36
GridPart GridPartType
grid part type
Definition: discontinuousgalerkin/basisfunctionsets.hh:88
implementation of a basis function set for given entity
Definition: default.hh:46