1 #ifndef DUNE_FEM_SPACE_FOURIER_DOFMAPPER_HH 2 #define DUNE_FEM_SPACE_FOURIER_DOFMAPPER_HH 24 template<
class Gr
idPart,
int order >
30 typedef typename GridPartType::template Codim< 0 >::EntityType
ElementType;
40 template<
class Gr
idPart,
int order >
59 static SizeType
size () {
return 1; }
62 static bool contains (
int codim ) {
return false; }
68 template<
class Functor >
69 static void mapEach (
const ElementType &element, Functor f )
75 template<
class Entity,
class Functor >
83 static SizeType
numDofs (
const ElementType &element ) {
return size(); }
86 template<
class Entity >
101 GlobalKeyType
oldIndex (
const int hole,
const int block )
const 103 DUNE_THROW( Dune::NotImplemented,
"Method oldIndex() not implemented yet" );
107 GlobalKeyType
newIndex (
const int hole,
const int block )
const 109 DUNE_THROW( Dune::NotImplemented,
"Method newIndex() not implemented yet" );
129 #endif // #ifndef DUNE_FEM_SPACE_FOURIER_DOFMAPPER_HH Definition: fourier/dofmapper.hh:17
Extended interface for adaptive DoF mappers.
Definition: mapper/dofmapper.hh:204
static SizeType maxNumDofs()
obtain maximal number of DoFs on one entity
Definition: fourier/dofmapper.hh:80
SizeType offSet(const int block) const
return current offsets for given block
Definition: fourier/dofmapper.hh:119
BaseType::SizeType SizeType
Definition: fourier/dofmapper.hh:51
static bool contains(int codim)
returns true if DoFs for given codimension exist
Definition: fourier/dofmapper.hh:62
SizeType numBlocks() const
return number of supported blocks
Definition: fourier/dofmapper.hh:122
SizeType GlobalKeyType
at the moment this should be similar to SizeType
Definition: mapper/dofmapper.hh:217
GlobalKeyType newIndex(const int hole, const int block) const
return new index of hole for data block (with resprect to new offset)
Definition: fourier/dofmapper.hh:107
static SizeType numEntityDofs(const Entity &entity)
obtain number of DoFs actually belonging to an entity
Definition: fourier/dofmapper.hh:87
static SizeType numDofs(const ElementType &element)
obtain number of DoFs on an entity
Definition: fourier/dofmapper.hh:83
Traits::ElementType ElementType
type of codimension 0 entities
Definition: mapper/dofmapper.hh:54
FourierDofMapper< GridPart, order > DofMapperType
Definition: fourier/dofmapper.hh:27
static bool fixedDataSize(int codim)
Check, whether the data in a codimension has fixed size.
Definition: fourier/dofmapper.hh:65
GridPartType::template Codim< 0 >::EntityType ElementType
Definition: fourier/dofmapper.hh:30
BaseType::GlobalKeyType GlobalKeyType
Definition: fourier/dofmapper.hh:50
SizeType numberOfHoles(const int block) const
return number of holes for data block
Definition: fourier/dofmapper.hh:98
Definition: coordinate.hh:4
static void mapEachEntityDof(const Entity &entity, Functor f)
map each local DoF number to a global key
Definition: fourier/dofmapper.hh:76
std::size_t SizeType
Definition: fourier/dofmapper.hh:32
GlobalKeyType oldIndex(const int hole, const int block) const
return old index of hole for data block (with resprect to new offset)
Definition: fourier/dofmapper.hh:101
Definition: fourier/dofmapper.hh:25
BaseType::Traits Traits
Definition: fourier/dofmapper.hh:48
static void mapEach(const ElementType &element, Functor f)
map each local DoF number to a global key
Definition: fourier/dofmapper.hh:69
BaseType::SizeType SizeType
type of size integer
Definition: mapper/dofmapper.hh:214
bool consecutive() const
return true if compress will affect data
Definition: fourier/dofmapper.hh:113
SizeType oldOffSet(const int block) const
return old offsets for given block
Definition: fourier/dofmapper.hh:116
static SizeType size()
return number of dofs for special function space and grid on specified level
Definition: fourier/dofmapper.hh:59
BaseType::ElementType ElementType
Definition: fourier/dofmapper.hh:49
GridPart GridPartType
Definition: fourier/dofmapper.hh:29