|
dune-fem 2.12-git
|
#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 | |
| 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 | onSubEntity (const ElementType &element, int i, int c, std::vector< char > &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 | |
| static const PartitionIteratorType | pitype |
| default partition iterator type for index setup | |
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) |
Member Typedef Documentation
◆ CompiledLocalKeyType
|
inherited |
compiled local key type
◆ CompiledLocalKeyVectorType
| typedef Traits::CompiledLocalKeyVectorType Dune::Fem::PAdaptiveDGMapper< GridPart, polOrder >::CompiledLocalKeyVectorType |
type of compiled local keys vector
◆ DofContainerType
|
inherited |
◆ DofManagerType
|
inherited |
type of the DoF manager
◆ DofMapperType
|
inherited |
type of the DofMapper implementation
◆ ElementType
|
inherited |
type of entities (codim 0)
◆ EntityDofStorageType
|
inherited |
◆ EntityType
|
inherited |
◆ FieldType
|
inherited |
type of coordinates within the grid
◆ GlobalKeyType
|
inherited |
type of global key
◆ GridPartType
| typedef Traits::GridPartType Dune::Fem::PAdaptiveDGMapper< GridPart, polOrder >::GridPartType |
type of the grid part
◆ GridType
|
inherited |
type of the underlying grid
◆ IndexSetType
|
inherited |
type of the index set
◆ PolynomialOrderStorageType
|
inherited |
◆ PolyOrderContainerType
|
inherited |
◆ SizeType
|
inherited |
◆ Traits
| typedef PAdaptiveDGMapperTraits< GridPart, polOrder > Dune::Fem::PAdaptiveDGMapper< GridPart, polOrder >::Traits |
Member Enumeration Documentation
◆ anonymous enum
|
inherited |
Constructor & Destructor Documentation
◆ PAdaptiveDGMapper() [1/2]
|
inline |
constructor
◆ PAdaptiveDGMapper() [2/2]
|
inline |
sort of copy constructor
Member Function Documentation
◆ adapt()
|
inlineinherited |
adjust mapper to newly set polynomial orders
◆ asImp() [1/6]
|
inlineprotectedinherited |
◆ asImp() [2/6]
|
inlineprotectedinherited |
◆ asImp() [3/6]
|
inlinestaticprotectedinherited |
◆ asImp() [4/6]
|
inlinestaticprotectedinherited |
◆ asImp() [5/6]
|
inlinestaticprotectedinherited |
◆ asImp() [6/6]
|
inlinestaticprotectedinherited |
◆ backup()
|
inlineinherited |
◆ compiledLocalKey()
|
inlineinherited |
◆ compress()
|
inlineinherited |
◆ consecutive()
|
inlineinherited |
◆ considerHierarchy()
|
inlineinherited |
return true if elements can be refined more than once during adaptation
◆ contains()
|
inlineinherited |
Check, whether any DoFs are associated with a codimension.
◆ dofContainer()
|
inlineinherited |
◆ fixedDataSize()
|
inlineinherited |
Check, whether the data in a codimension has fixed size.
◆ insertAllUsed()
|
inlineinherited |
return number of DoFs currently used for space
◆ insertEntity()
|
inlineinherited |
◆ insertEntityDofs()
|
inlineinherited |
◆ insertFather()
|
inlineinherited |
◆ map()
|
inlineinherited |
◆ mapEach() [1/2]
|
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.
◆ mapEach() [2/2]
|
inlineinherited |
◆ 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.
◆ mapEntityDofs()
|
inlineinherited |
◆ mapToGlobal()
|
inlineinherited |
◆ maxNumDofs()
|
inlineinherited |
obtain maximal number of DoFs on one entity
◆ newIndex()
|
inlineinherited |
◆ numberOfHoles()
|
inlineinherited |
◆ numBlocks()
|
inlineinherited |
◆ numDofs() [1/2]
|
inlineinherited |
obtain number of DoFs on an entity
- Parameters
-
[in] element entity of codimension 0
- Returns
- number of DoFs on the entity
◆ numDofs() [2/2]
|
inlineinherited |
◆ 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
◆ offSet()
|
inlineinherited |
◆ oldIndex()
|
inlineinherited |
◆ oldOffSet()
|
inlineinherited |
◆ onSubEntity() [1/2]
|
inlineinherited |
◆ onSubEntity() [2/2]
|
inlineinherited |
◆ polynomOrder()
|
inlineinherited |
◆ printDofs()
|
inlineinherited |
◆ printEntityDofs()
|
inlineinherited |
◆ read()
|
inlineinherited |
◆ removeEntity()
|
inlineinherited |
◆ resize()
|
inlineinherited |
◆ resizeContainers()
|
inlineinherited |
◆ restore()
|
inlineinherited |
◆ setUnused()
|
inlineinherited |
reset all used flags of all DoF entries
◆ size()
|
inlineinherited |
return overall number of degrees of freedom
◆ suggestedOrder()
|
inlineinherited |
◆ suggestPolynomOrder()
|
inlineinherited |
◆ update()
|
inlineinherited |
update DoF mapping after grid modification
Adaptive DoF mappers are considered to be always up to date and this method does nothing.
◆ write()
|
inlineinherited |
Member Data Documentation
◆ dimension
|
staticinherited |
dimension of the grid
◆ discontinuousMapper
|
staticinherited |
◆ highestDimension
|
staticinherited |
highest codimension used to attach dofs
◆ pitype
|
staticinherited |
default partition iterator type for index setup
◆ polynomialOrder
|
staticinherited |
order of the Lagrange polynoms
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8