1 #ifndef DUNE_FEM_SPACE_PADAPTIVE_MAPPER_HH 2 #define DUNE_FEM_SPACE_PADAPTIVE_MAPPER_HH 4 #include <dune/common/exceptions.hh> 6 #include <dune/geometry/type.hh> 7 #include <dune/geometry/typeindex.hh> 9 #include <dune/grid/utility/persistentcontainer.hh> 12 #include <dune/fem/misc/metaprogramming.hh> 29 template<
class Gr
idPart,
int polOrder >
37 template<
class Gr
idPart,
int polOrder >
46 typedef typename GridPartType::template Codim< 0 >::EntityType
ElementType;
65 template<
class Gr
idPart >
80 typedef typename GridPartType::GridType GridType;
83 typedef typename GridType::ctype FieldType;
86 static const int dimension = GridType::dimension;
99 : BaseType( gridPart )
102 bool fixedDataSize (
const int codim )
const 107 int polynomOrder(
const ElementType& entity )
const 112 void setPolynomOrder(
const ElementType& entity,
const int polOrd )
124 template<
class Gr
idPart,
int polOrder >
146 CompiledLocalKeyVectorType &compiledLocalKeys )
147 : BaseType( gridPart, compiledLocalKeys )
153 CompiledLocalKeyVectorType &compiledLocalKeys )
154 : BaseType( other, compiledLocalKeys )
158 template<
class Gr
idPart,
int polOrder >
161 template<
class Gr
idPart,
int polOrder >
168 typedef typename GridPart::template Codim< 0 >::EntityType
ElementType;
178 template<
class Gr
idPart,
int polOrder >
200 CompiledLocalKeyVectorType &compiledLocalKeys )
201 : BaseType( gridPart, compiledLocalKeys )
206 CompiledLocalKeyVectorType &compiledLocalKeys )
207 : BaseType( other, compiledLocalKeys )
215 #endif // #ifndef DUNE_FEM_SPACE_PADAPTIVE_MAPPER_HH
PAdaptiveDGMapperTraits< GridPart, polOrder > Traits
Definition: mapper.hh:184
PAdaptiveDGMapper(const ThisType &other, CompiledLocalKeyVectorType &compiledLocalKeys)
sort of copy constructor
Definition: mapper.hh:205
PAdaptiveLagrangeMapper(const GridPartType &gridPart, CompiledLocalKeyVectorType &compiledLocalKeys)
constructor
Definition: mapper.hh:145
std::vector< BaseSetLocalKeyStorageType > CompiledLocalKeyVectorType
Definition: mapper.hh:53
int SizeType
Definition: mapper.hh:170
Traits::GridPartType GridPartType
type of the grid part
Definition: mapper.hh:138
Traits::CompiledLocalKeyVectorType CompiledLocalKeyVectorType
type of compiled local keys vector
Definition: mapper.hh:195
Definition: genericadaptivedofmapper.hh:29
PAdaptiveDGMapper(const GridPartType &gridPart, CompiledLocalKeyVectorType &compiledLocalKeys)
constructor
Definition: mapper.hh:199
int GlobalKeyType
Definition: mapper.hh:171
mapper allocating one DoF per subentity of a given codimension
Definition: codimensionmapper.hh:28
Definition: mapper.hh:162
GridPart GridPartType
Definition: mapper.hh:40
PAdaptiveLagrangeMapperTraits< GridPart, polOrder > Traits
Definition: mapper.hh:130
Definition: coordinate.hh:4
GridPartType::template Codim< 0 >::EntityType ElementType
Definition: mapper.hh:46
BaseSetLocalKeyStorage< CompiledLocalKeyType > BaseSetLocalKeyStorageType
Definition: mapper.hh:51
LagrangePointSet< GridPartType, polynomialOrder > CompiledLocalKeyType
type of the compiled local key
Definition: mapper.hh:50
Traits::GridPartType GridPartType
type of the grid part
Definition: mapper.hh:192
static const int polynomialOrder
Definition: mapper.hh:42
Definition: mapper.hh:159
GridPart::template Codim< 0 >::EntityType ElementType
Definition: mapper.hh:168
int SizeType
Definition: mapper.hh:55
Traits::CompiledLocalKeyVectorType CompiledLocalKeyVectorType
type of compiled local keys vector
Definition: mapper.hh:141
PAdaptiveDGMapper< GridPart, polOrder > DofMapperType
Definition: mapper.hh:169
PAdaptiveLagrangeMapper< GridPartType, polynomialOrder > DofMapperType
Definition: mapper.hh:47
static const bool discontinuousMapper
Definition: mapper.hh:44
PAdaptiveLagrangeMapper(const ThisType &other, CompiledLocalKeyVectorType &compiledLocalKeys)
sort of copy constructor
Definition: mapper.hh:152
int GlobalKeyType
Definition: mapper.hh:56
Definition: lagrangepoints.hh:461
storage class for base function set pointer and compiled local key pointers
Definition: basesetlocalkeystorage.hh:27