|
dune-fem 2.8.0
|
#include <dune/fem/space/padaptivespace/mapper.hh>

Public Types | |
| typedef PAdaptiveDGMapperTraits< GridPart, polOrder > | Traits |
| typedef Traits::GridPartType | GridPartType |
| type of the grid part | |
| typedef Traits::CompiledLocalKeyVectorType | CompiledLocalKeyVectorType |
| type of compiled local keys vector | |
| enum | |
| enum | |
| enum | |
| typedef std::size_t | SizeType |
| typedef Traits::ElementType | ElementType |
| type of entities (codim 0) | |
| typedef GridPartType::GridType | GridType |
| type of the underlying grid | |
| typedef GridPartType::IndexSetType | IndexSetType |
| type of the index set | |
| typedef Traits::GlobalKeyType | GlobalKeyType |
| type of global key | |
| typedef GridType::ctype | FieldType |
| type of coordinates within the grid | |
| typedef CompiledLocalKeyVectorType::value_type::value_type | CompiledLocalKeyType |
| compiled local key type | |
| typedef DofManager< GridType > | DofManagerType |
| type of the DoF manager | |
| typedef EntityDofStorage | EntityDofStorageType |
| typedef PolynomialOrderStorage | PolynomialOrderStorageType |
| typedef PersistentContainer< GridType, EntityDofStorageType > | DofContainerType |
| typedef PersistentContainer< GridType, PolynomialOrderStorageType > | PolyOrderContainerType |
| typedef Traits::DofMapperType | DofMapperType |
| type of the DofMapper implementation | |
| typedef ElementType | EntityType |
Public Member Functions | |
| PAdaptiveDGMapper (const GridPartType &gridPart, const int order, CompiledLocalKeyVectorType &compiledLocalKeys) | |
| constructor | |
| PAdaptiveDGMapper (const ThisType &other, const int order, CompiledLocalKeyVectorType &compiledLocalKeys) | |
| sort of copy constructor | |
| int | polynomOrder (const ElementType &entity) const |
| int | suggestedOrder (const ElementType &entity) const |
| void | suggestPolynomOrder (const ElementType &entity, const int polOrd) |
| DofContainerType & | dofContainer (const std::size_t codim) const |
| const CompiledLocalKeyType & | compiledLocalKey (const int polOrd, const GeometryType type) const |
| int | size () const |
| return overall number of degrees of freedom | |
| void | mapEach (const ElementType &element, Functor f) const |
| template<class Functor > | |
| void | mapEach (const ElementType &element, Functor f) const |
| map each local DoF number to a global key | |
| int | mapToGlobal (const ElementType &entity, const int localDof) const |
| void | mapEachEntityDof (const Entity &entity, Functor f) const |
| map each local DoF number to a global key | |
| void | onSubEntity (const ElementType &element, int i, int c, std::vector< bool > &indices) const |
| void | map (const ElementType &element, std::vector< SizeType > &indices) const |
| void | mapEntityDofs (const Entity &entity, std::vector< SizeType > &indices) const |
| int | maxNumDofs () const |
| obtain maximal number of DoFs on one entity | |
| int | numDofs (const ElementType &entity) const |
| SizeType | numDofs (const ElementType &element) const |
| obtain number of DoFs on an entity | |
| int | numEntityDofs (const Entity &entity) const |
| obtain number of DoFs actually belonging to an entity | |
| bool | contains (int codim) const |
| Check, whether any DoFs are associated with a codimension. | |
| bool | fixedDataSize (int codim) const |
| Check, whether the data in a codimension has fixed size. | |
| int | oldIndex (const int hole, const int block) const |
| int | newIndex (const int hole, const int block) const |
| int | numberOfHoles (const int block) const |
| int | numBlocks () const |
| int | oldOffSet (const int block) const |
| int | offSet (const int block) const |
| bool | consecutive () const |
| void | resizeContainers () |
| void | insertEntity (const ElementType &entity) |
| unsigned int | insertEntityDofs (const ElementType &entity) |
| void | removeEntity (const ElementType &entity) |
| void | resize () |
| void | adapt () |
| adjust mapper to newly set polynomial orders | |
| unsigned int | insertFather (const ElementType &entity) |
| bool | considerHierarchy () const |
| return true if elements can be refined more than once during adaptation | |
| size_t | insertAllUsed () |
| return number of DoFs currently used for space | |
| void | printDofs () const |
| void | printEntityDofs (const ElementType &entity) const |
| void | setUnused () |
| reset all used flags of all DoF entries | |
| bool | compress () |
| void | backup () const |
| void | restore () |
| void | read (InStream &in) |
| void | write (OutStream &out) |
| void | update () |
| update DoF mapping after grid modification | |
Static Public Attributes | |
| static const bool | discontinuousMapper |
| static const int | dimension |
| dimension of the grid | |
| static const int | highestDimension |
| highest codimension used to attach dofs | |
| static const int | polynomialOrder |
| order of the Lagrange polynoms | |
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) |
|
inherited |
compiled local key type
| typedef Traits::CompiledLocalKeyVectorType Dune::Fem::PAdaptiveDGMapper< GridPart, polOrder >::CompiledLocalKeyVectorType |
type of compiled local keys vector
|
inherited |
|
inherited |
type of the DoF manager
|
inherited |
type of the DofMapper implementation
|
inherited |
type of entities (codim 0)
|
inherited |
|
inherited |
|
inherited |
type of coordinates within the grid
|
inherited |
type of global key
| typedef Traits::GridPartType Dune::Fem::PAdaptiveDGMapper< GridPart, polOrder >::GridPartType |
type of the grid part
|
inherited |
type of the underlying grid
|
inherited |
type of the index set
|
inherited |
|
inherited |
|
inherited |
| typedef PAdaptiveDGMapperTraits< GridPart, polOrder > Dune::Fem::PAdaptiveDGMapper< GridPart, polOrder >::Traits |
|
inherited |
|
inherited |
|
inherited |
|
inline |
constructor
|
inline |
sort of copy constructor
|
inlineinherited |
adjust mapper to newly set polynomial orders
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
return true if elements can be refined more than once during adaptation
|
inlineinherited |
Check, whether any DoFs are associated with a codimension.
|
inlineinherited |
|
inlineinherited |
Check, whether the data in a codimension has fixed size.
|
inlineinherited |
return number of DoFs currently used for space
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
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 |
|
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 |
|
inlineinherited |
|
inlineinherited |
obtain maximal number of DoFs on one entity
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
obtain number of DoFs on an entity
| [in] | element | entity of codimension 0 |
|
inlineinherited |
|
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 
![\[
\mathrm{numDofs}( E ) = \sum_{e \subset E} \mathrm{numEntityDofs}( e ),
\]](form_60.png)
where 
| [in] | entity | entity of codimension |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
reset all used flags of all DoF entries
|
inlineinherited |
return overall number of degrees of freedom
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
update DoF mapping after grid modification
Adaptive DoF mappers are considered to be always up to date and this method does nothing.
|
inlineinherited |
|
staticinherited |
dimension of the grid
|
staticinherited |
|
staticinherited |
highest codimension used to attach dofs
|
staticinherited |
order of the Lagrange polynoms