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