1 #ifndef DUNE_FEM_SPACE_RANNACHERTUREK_DOFMAPPERCODE_HH 2 #define DUNE_FEM_SPACE_RANNACHERTUREK_DOFMAPPERCODE_HH 5 #include <dune/geometry/referenceelements.hh> 22 template<
class Gr
idPart >
31 : gridPart_( gridPart )
34 const GridPartType &
gridPart ()
const {
return gridPart_; }
38 return ( &gridPart_ == &(other.gridPart_) );
43 return !( *
this == other );
47 const GridPartType &gridPart_;
55 template<
class LocalCoefficients >
61 : localCoefficients_( localCoefficients )
64 template<
class Field,
int dim >
72 return localCoefficients_;
76 LocalCoefficientsType localCoefficients_;
84 template<
class Gr
idPart,
class LocalCoefficients >
94 return createObject( key.
gridPart() );
100 return new BlockMapperType( gridPart, codeFactory );
113 #endif // #ifndef DUNE_FEM_SPACE_RANNACHERTUREK_DOFMAPPERCODE_HH
LocalCoefficients LocalCoefficientsType
Definition: rannacherturek/dofmappercode.hh:58
Definition: rannacherturek/dofmappercode.hh:56
GridPart GridPartType
Definition: rannacherturek/dofmappercode.hh:87
static BlockMapperType * createObject(const RannacherTurekBlockMapperSingletonKey< GridPartType > &key)
Definition: rannacherturek/dofmappercode.hh:92
Dune::Fem::IndexSetDofMapper< GridPartType > BlockMapperType
Definition: rannacherturek/dofmappercode.hh:90
bool operator!=(const ThisType &other) const
Definition: rannacherturek/dofmappercode.hh:41
DofMapperCode compile(const Dune::ReferenceElement< Field, dim > &refElement, const LocalCoefficients &localCoefficients)
Definition: compile.hh:44
LocalCoefficients LocalCoefficientsType
Definition: rannacherturek/dofmappercode.hh:88
const GridPartType & gridPart() const
Definition: rannacherturek/dofmappercode.hh:34
GridPart GridPartType
Definition: rannacherturek/dofmappercode.hh:28
RannacherTurekDofMapperCodeFactory(const LocalCoefficients &localCoefficients=LocalCoefficients())
Definition: rannacherturek/dofmappercode.hh:60
const LocalCoefficientsType & localCoefficients() const
Definition: rannacherturek/dofmappercode.hh:70
Definition: rannacherturek/dofmappercode.hh:85
static BlockMapperType * createObject(const GridPart &gridPart)
Definition: rannacherturek/dofmappercode.hh:97
Definition: coordinate.hh:4
Definition: rannacherturek/dofmappercode.hh:23
static void deleteObject(BlockMapperType *blockMapper)
Definition: rannacherturek/dofmappercode.hh:103
Definition: indexsetdofmapper.hh:743
RannacherTurekBlockMapperSingletonKey(const GridPartType &gridPart)
Definition: rannacherturek/dofmappercode.hh:30
bool operator==(const ThisType &other) const
Definition: rannacherturek/dofmappercode.hh:36