#include <dune/fem/space/mapper/indexsetdofmapper.hh>
|
| template<class CodeFactory > |
| | DofMapper (const GridPartType &gridPart, LocalDofMappingType localDofMapping, const CodeFactory &codeFactory) |
| |
| template<class Functor > |
| void | mapEach (const ElementType &element, Functor f) const |
| | map each local DoF number to a global one More...
|
| |
| void | map (const ElementType &element, std::vector< GlobalKeyType > &indices) const |
| |
| void | onSubEntity (const ElementType &element, int i, int c, std::vector< bool > &indices) const |
| | fills a vector of bools with true indicating that the corresponding local degree of freedom is attached to the subentity specified by the (c,i) pair. A local dof is attached to a subentity S if it is attached either to that subentity or to a subentity S'<S i.e. S' has codimension greater than c and lies within S. For example all dofs are attached to the element itself and dofs attached to a vertex of an edge are also attached to that edge. More...
|
| |
| unsigned int | maxNumDofs () const |
| |
| unsigned int | numDofs (const ElementType &element) const |
| |
| template<class Entity , class Functor > |
| void | mapEachEntityDof (const Entity &entity, Functor f) const |
| |
| template<class Entity > |
| void | mapEntityDofs (const Entity &entity, std::vector< GlobalKeyType > &indices) const |
| |
| template<class Entity > |
| unsigned int | numEntityDofs (const Entity &entity) const |
| |
| bool | contains (int codim) const |
| |
| bool | fixedDataSize (int codim) const |
| |
| SizeType | size () const |
| |
| void | update () |
| | update mapper offsets More...
|
| |
| SizeType | numBlocks () const |
| |
| SizeType | numberOfHoles (int) const |
| |
| GlobalKeyType | oldIndex (int hole, int) const |
| |
| GlobalKeyType | newIndex (int hole, int) const |
| |
| SizeType | oldOffSet (int) const |
| |
| SizeType | offSet (int) const |
| |
|
| static const int | dimension = GridPart::dimension |
| |
◆ BlockMapType
template<class GridPart , class LocalDofMapping >
◆ ElementType
template<class GridPart , class LocalDofMapping >
◆ GlobalKeyType
template<class GridPart , class LocalDofMapping >
◆ GridPartType
template<class GridPart , class LocalDofMapping >
◆ IndexSetType
template<class GridPart , class LocalDofMapping >
◆ LocalDofMappingType
template<class GridPart , class LocalDofMapping >
◆ RefElementsType
template<class GridPart , class LocalDofMapping >
◆ RefElementType
template<class GridPart , class LocalDofMapping >
◆ SizeType
template<class GridPart , class LocalDofMapping >
◆ CodimType
template<class GridPart , class LocalDofMapping >
| Enumerator |
|---|
| CodimEmpty | |
| CodimFixedSize | |
| CodimVariableSize | |
◆ DofMapper()
template<class GridPart , class LocalDofMapping >
template<class CodeFactory >
◆ code() [1/2]
template<class GridPart , class LocalDofMapping >
◆ code() [2/2]
template<class GridPart , class LocalDofMapping >
◆ consecutive()
template<class GridPart , class LocalDofMapping >
|
|
inlinestaticconstexprnoexcept |
◆ contains()
template<class GridPart , class LocalDofMapping >
◆ fixedDataSize()
template<class GridPart , class LocalDofMapping >
◆ indexSet()
template<class GridPart , class LocalDofMapping >
◆ map()
template<class GridPart , class LocalDofMapping >
◆ mapEach()
template<class GridPart , class LocalDofMapping >
template<class Functor >
map each local DoF number to a global one
- 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
{
void operator() ( int localDoF, int 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.
◆ mapEachEntityDof()
template<class GridPart , class LocalDofMapping >
template<class Entity , class Functor >
◆ mapEntityDofs()
template<class GridPart , class LocalDofMapping >
template<class Entity >
◆ maxNumDofs()
template<class GridPart , class LocalDofMapping >
◆ newIndex()
template<class GridPart , class LocalDofMapping >
◆ numberOfHoles()
template<class GridPart , class LocalDofMapping >
◆ numBlocks()
template<class GridPart , class LocalDofMapping >
◆ numDofs()
template<class GridPart , class LocalDofMapping >
◆ numEntityDofs()
template<class GridPart , class LocalDofMapping >
template<class Entity >
◆ offSet()
template<class GridPart , class LocalDofMapping >
◆ oldIndex()
template<class GridPart , class LocalDofMapping >
◆ oldOffSet()
template<class GridPart , class LocalDofMapping >
◆ onSubEntity()
template<class GridPart , class LocalDofMapping >
fills a vector of bools with true indicating that the corresponding local degree of freedom is attached to the subentity specified by the (c,i) pair. A local dof is attached to a subentity S if it is attached either to that subentity or to a subentity S'<S i.e. S' has codimension greater than c and lies within S. For example all dofs are attached to the element itself and dofs attached to a vertex of an edge are also attached to that edge.
◆ requestCodimensions()
template<class GridPart , class LocalDofMapping >
submit request for codimensions used to index set
◆ size()
template<class GridPart , class LocalDofMapping >
◆ subEntityInfo()
template<class GridPart , class LocalDofMapping >
template<class Entity >
◆ update()
template<class GridPart , class LocalDofMapping >
◆ blockMap_
template<class GridPart , class LocalDofMapping >
◆ code_
template<class GridPart , class LocalDofMapping >
◆ codimType_
template<class GridPart , class LocalDofMapping >
◆ dimension
template<class GridPart , class LocalDofMapping >
◆ indexSet_
template<class GridPart , class LocalDofMapping >
◆ localDofMapping_
template<class GridPart , class LocalDofMapping >
◆ maxNumDofs_
template<class GridPart , class LocalDofMapping >
◆ size_
template<class GridPart , class LocalDofMapping >
◆ subEntityInfo_
template<class GridPart , class LocalDofMapping >
The documentation for this class was generated from the following file: