|
| SizeType | numberOfHoles (const int block) const |
| | return number of holes for data block
|
| |
| GlobalKeyType | oldIndex (const int hole, const int block) const |
| | return old index of hole for data block (with resprect to new offset)
|
| |
| GlobalKeyType | newIndex (const int hole, const int block) const |
| | return new index of hole for data block (with resprect to new offset)
|
| |
| bool | consecutive () const |
| | return true if compress will affect data
|
| |
| SizeType | oldOffSet (const int block) const |
| | return old offsets for given block
|
| |
| SizeType | offSet (const int block) const |
| | return current offsets for given block
|
| |
| SizeType | numBlocks () const |
| | return number of supported blocks
|
| |
| void | update () |
| | update DoF mapping after grid modification
|
| |
| SizeType | size () const |
| | return number of dofs for special function space and grid on specified level
|
| |
| bool | contains (const int codim) const |
| | returns true if DoFs for given codimension exist
|
| |
| bool | fixedDataSize (const int codim) const |
| | Check, whether the data in a codimension has fixed size.
|
| |
| template<class Functor > |
| void | mapEach (const ElementType &element, Functor f) const |
| | map each local DoF number to a global key
|
| |
| template<class Entity , class Functor > |
| void | mapEachEntityDof (const Entity &entity, Functor f) const |
| | map each local DoF number to a global key
|
| |
| int | maxNumDofs () const |
| | obtain maximal number of DoFs on one entity
|
| |
| SizeType | numDofs (const ElementType &element) const |
| | obtain number of DoFs on an entity
|
| |
| template<class Entity > |
| SizeType | numEntityDofs (const Entity &entity) const |
| | obtain number of DoFs actually belonging to an entity
|
| |
|
| static SizeType | size () |
| | return number of dofs for special function space and grid on specified level
|
| |
| static bool | contains (int codim) |
| | returns true if DoFs for given codimension exist
|
| |
| static bool | fixedDataSize (int codim) |
| | Check, whether the data in a codimension has fixed size.
|
| |
| template<class Functor > |
| static void | mapEach (const ElementType &element, Functor f) |
| | map each local DoF number to a global key
|
| |
| template<class Entity , class Functor > |
| static void | mapEachEntityDof (const Entity &entity, Functor f) |
| | map each local DoF number to a global key
|
| |
| static SizeType | maxNumDofs () |
| | obtain maximal number of DoFs on one entity
|
| |
| static SizeType | numDofs (const ElementType &element) |
| | obtain number of DoFs on an entity
|
| |
| template<class Entity > |
| static SizeType | numEntityDofs (const Entity &entity) |
| | obtain number of DoFs actually belonging to an entity
|
| |
template<class GridPart , int order>
template<class Functor >
map each local DoF number to a global key
- Parameters
-
| [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:
struct Functor
{
template< class GlobalKey >
void operator() (
const int localDoF,
const GlobalKey &globalDoF );
};
virtual void operator()()=0
For each DoF to be mapped, this method will call the application operator once.
- Note
- There is no guarantee on the order, in which the functor is applied.
-
The global key has to be compatible with the Dof storage.
template<class DofMapperTraits >
template<class Functor >
map each local DoF number to a global key
- Parameters
-
| [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:
struct Functor
{
template< class GlobalKey >
void operator() (
const int localDoF,
const GlobalKey &globalDoF );
};
For each DoF to be mapped, this method will call the application operator once.
- Note
- There is no guarantee on the order, in which the functor is applied.
-
The global key has to be compatible with the Dof storage.
template<class GridPart , int order>
template<class
Entity , class Functor >
map each local DoF number to a global key
- Parameters
-
| [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:
struct Functor
{
template< class GlobalKey >
void operator() (
const int localDoF,
const GlobalKey &globalKey );
};
For each DoF to be mapped, this method will call the application operator once.
- Note
- There is no guarantee on the order, in which the functor is applied.
-
The global key has to be compatible with the Dof storage.
template<class DofMapperTraits >
template<class
Entity , class Functor >
map each local DoF number to a global key
- Parameters
-
| [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:
struct Functor
{
template< class GlobalKey >
void operator() (
const int localDoF,
const GlobalKey &globalKey );
};
For each DoF to be mapped, this method will call the application operator once.
- Note
- There is no guarantee on the order, in which the functor is applied.
-
The global key has to be compatible with the Dof storage.
template<class GridPart , int order>
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 \(E\) of codimension 0:
\[
\mathrm{numDofs}( E ) = \sum_{e \subset E} \mathrm{numEntityDofs}( e ),
\]
where \(\subset\) denotes the subentity relation.
- Parameters
-
| [in] | entity | entity of codimension |
- Returns
- number of DoFs on the entity
template<class DofMapperTraits >
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 \(E\) of codimension 0:
\[
\mathrm{numDofs}( E ) = \sum_{e \subset E} \mathrm{numEntityDofs}( e ),
\]
where \(\subset\) denotes the subentity relation.
- Parameters
-
| [in] | entity | entity of codimension |
- Returns
- number of DoFs on the entity