dune-fem 2.8.0
|
Extended interface for adaptive DoF mappers. More...
#include <dune/fem/space/mapper/dofmapper.hh>
Public Types | |
typedef BaseType::SizeType | SizeType |
type of size integer More... | |
typedef SizeType | GlobalKeyType |
at the moment this should be similar to SizeType More... | |
typedef DofMapperTraits | Traits |
typedef Traits::DofMapperType | DofMapperType |
type of the DofMapper implementation More... | |
typedef Traits::ElementType | ElementType |
type of codimension 0 entities More... | |
typedef ElementType | EntityType |
Public Member Functions | |
SizeType | numberOfHoles (const int block) const |
return number of holes for data block More... | |
GlobalKeyType | oldIndex (const int hole, const int block) const |
return old index of hole for data block (with resprect to new offset) More... | |
GlobalKeyType | newIndex (const int hole, const int block) const |
return new index of hole for data block (with resprect to new offset) More... | |
bool | consecutive () const |
return true if compress will affect data More... | |
SizeType | oldOffSet (const int block) const |
return old offsets for given block More... | |
SizeType | offSet (const int block) const |
return current offsets for given block More... | |
SizeType | numBlocks () const |
return number of supported blocks More... | |
void | update () |
update DoF mapping after grid modification More... | |
SizeType | size () const |
return number of dofs for special function space and grid on specified level More... | |
bool | contains (const int codim) const |
returns true if DoFs for given codimension exist More... | |
bool | fixedDataSize (const int codim) const |
Check, whether the data in a codimension has fixed size. More... | |
template<class Functor > | |
void | mapEach (const ElementType &element, Functor f) const |
map each local DoF number to a global key More... | |
template<class Entity , class Functor > | |
void | mapEachEntityDof (const Entity &entity, Functor f) const |
map each local DoF number to a global key More... | |
int | maxNumDofs () const |
obtain maximal number of DoFs on one entity More... | |
SizeType | numDofs (const ElementType &element) const |
obtain number of DoFs on an entity More... | |
template<class Entity > | |
SizeType | numEntityDofs (const Entity &entity) const |
obtain number of DoFs actually belonging to an entity More... | |
Protected Member Functions | |
const Implementation & | asImp () const |
Implementation & | asImp () |
Static Protected Member Functions | |
static const Implementation & | asImp (const ThisType &other) |
static Implementation & | asImp (ThisType &other) |
static const DofMapperTraits ::DofMapperType & | asImp (const ThisType &other) |
static DofMapperTraits ::DofMapperType & | asImp (ThisType &other) |
Extended interface for adaptive DoF mappers.
|
inherited |
type of the DofMapper implementation
|
inherited |
type of codimension 0 entities
|
inherited |
typedef SizeType Dune::Fem::AdaptiveDofMapper< DofMapperTraits >::GlobalKeyType |
at the moment this should be similar to SizeType
typedef BaseType::SizeType Dune::Fem::AdaptiveDofMapper< DofMapperTraits >::SizeType |
type of size integer
|
inherited |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotectedinherited |
|
inlinestaticprotected |
|
inlinestaticprotectedinherited |
|
inlinestaticprotected |
|
inline |
return true if compress will affect data
|
inlineinherited |
returns true if DoFs for given codimension exist
[in] | codim | codimension to check |
|
inlineinherited |
Check, whether the data in a codimension has fixed size.
|
inlineinherited |
map each local DoF number to a global key
[in] | element | element, the DoFs belong to |
[in] | f | functor to call for each DoF |
The functor has to be a copyable object satisfying the following interface:
For each DoF to be mapped, this method will call the application operator once.
|
inlineinherited |
map each local DoF number to a global key
[in] | entity | entity, the DoFs belong to |
[in] | f | functor to call for each DoF |
The functor has to be a copyable object satisfying the following interface:
For each DoF to be mapped, this method will call the application operator once.
|
inlineinherited |
obtain maximal number of DoFs on one entity
|
inline |
return new index of hole for data block (with resprect to new offset)
|
inline |
return number of holes for data block
|
inline |
return number of supported blocks
|
inlineinherited |
obtain number of DoFs on an entity
[in] | element | entity of codimension 0 |
|
inlineinherited |
obtain number of DoFs actually belonging to an entity
In contrast to numDofs, this method returns the number of DoFs actually associated with an entity (usually a subentity). We have the following relation for an entity
where
[in] | entity | entity of codimension |
|
inline |
return current offsets for given block
|
inline |
return old index of hole for data block (with resprect to new offset)
|
inline |
return old offsets for given block
|
inlineinherited |
return number of dofs for special function space and grid on specified level
|
inline |
update DoF mapping after grid modification
Adaptive DoF mappers are considered to be always up to date and this method does nothing.