DUNE-FEM (unstable)
Extended interface for adaptive DoF mappers. More...
#include <dune/fem/space/mapper/dofmapper.hh>
Public Types | |
typedef BaseType::SizeType | SizeType |
type of size integer | |
typedef SizeType | GlobalKeyType |
at the moment this should be similar to SizeType | |
typedef Traits::DofMapperType | DofMapperType |
type of the DofMapper implementation | |
typedef Traits::ElementType | ElementType |
type of codimension 0 entities | |
Public Member Functions | |
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 More... | |
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 More... | |
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 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 | |
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... | |
Detailed Description
class Dune::Fem::AdaptiveDofMapper< DofMapperTraits >
Extended interface for adaptive DoF mappers.
Member Function Documentation
◆ contains()
|
inlineinherited |
returns true if DoFs for given codimension exist
- Parameters
-
[in] codim codimension to check
- Returns
- true if DoFs for codimension exist
◆ mapEach()
|
inlineinherited |
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:
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.
References CHECK_AND_CALL_INTERFACE_IMPLEMENTATION, and Dune::Fem::DofMapper< DofMapperTraits >::mapEach().
Referenced by Dune::Fem::DofMapper< DofMapperTraits >::mapEach().
◆ mapEachEntityDof()
|
inlineinherited |
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:
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.
References CHECK_AND_CALL_INTERFACE_IMPLEMENTATION, and Dune::Fem::DofMapper< DofMapperTraits >::mapEachEntityDof().
Referenced by Dune::Fem::DofMapper< DofMapperTraits >::mapEachEntityDof().
◆ numDofs()
|
inlineinherited |
obtain number of DoFs on an entity
- Parameters
-
[in] element entity of codimension 0
- Returns
- number of DoFs on the entity
◆ numEntityDofs()
|
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 \(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
◆ update()
|
inline |
update DoF mapping after grid modification
Adaptive DoF mappers are considered to be always up to date and this method does nothing.
The documentation for this class was generated from the following file:
- dune/fem/space/mapper/dofmapper.hh