|
dune-fem 2.12-git
|
#include <dune/fem/space/mapper/indexsetdofmapper.hh>

Public Types | |
| typedef BaseType::GridPartType | GridPartType |
| typedef BaseType::LocalDofMappingType | LocalDofMappingType |
| typedef BaseType::SizeType | SizeType |
| typedef SizeType | GlobalKeyType |
| typedef GridPartType::template Codim< 0 >::EntityType | ElementType |
Public Member Functions | |
| template<class CodeFactory > | |
| DofMapper (const GridPartType &gridPart, LocalDofMappingType localDofMapping, const CodeFactory &codeFactory) | |
| DofMapper (const ThisType &)=delete | |
| ~DofMapper () | |
| ThisType & | operator= (const ThisType &)=delete |
| template<class Functor > | |
| void | mapEach (const ElementType &element, Functor f) const |
| map each local DoF number to a global one | |
| void | map (const ElementType &element, std::vector< GlobalKeyType > &indices) const |
| 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 |
| 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. this method returns which local dofs are attached to the given subentity. indices[locDofNr] = 0 : not attached, not equal to 0 : attached (so this method can still be used in the way the deprecated method was). New: In case the dof can be associated to a component of the space, the value returned is that component+1. In other cases (normal velocity for RT for example) the value is 1). So indices[i] is in [0,dimRange+1] | |
| 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 | |
| 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 |
| template<class Entity > | |
| void | insertEntity (const Entity &entity) |
| template<class Entity > | |
| void | removeEntity (const Entity &entity) |
| void | resize () |
| bool | compress () |
| void | backup () const |
| void | restore () |
| template<class StreamTraits > | |
| void | write (OutStreamInterface< StreamTraits > &out) const |
| template<class StreamTraits > | |
| void | read (InStreamInterface< StreamTraits > &in) |
Static Public Member Functions | |
| static constexpr bool | consecutive () noexcept |
Protected Types | |
| typedef BaseType::SubEntityInfo | SubEntityInfo |
| typedef BaseType::GridPartType::GridType | GridType |
| typedef DofManager< GridType > | DofManagerType |
| enum | CodimType { CodimEmpty , CodimFixedSize , CodimVariableSize } |
| typedef Dune::ReferenceElements< typename GridPart::ctype, dimension > | RefElementsType |
| typedef RefElementsType::ReferenceElement | RefElementType |
| typedef GridPartType::IndexSetType | IndexSetType |
| typedef std::vector< GeometryType > | BlockMapType |
Protected Member Functions | |
| void | requestCodimensions () |
| submit request for codimensions used to index set | |
| const DofMapperCode & | code (const GeometryType >) const |
| const DofMapperCode & | code (const ElementType &element) const |
| template<class Entity > | |
| const SubEntityInfo & | subEntityInfo (const Entity &entity) const |
| const IndexSetType & | indexSet () const |
Protected Attributes | |
| DofManagerType & | dofManager_ |
| const IndexSetType & | indexSet_ |
| LocalDofMapping | localDofMapping_ |
| std::vector< DofMapperCode > | code_ |
| unsigned int | maxNumDofs_ |
| SizeType | size_ |
| std::vector< SubEntityInfo > | subEntityInfo_ |
| BlockMapType | blockMap_ |
| CodimType | codimType_ [dimension+1] |
Static Protected Attributes | |
| static const int | dimension = GridPart::dimension |
Member Typedef Documentation
◆ BlockMapType
|
protectedinherited |
◆ DofManagerType
|
protected |
◆ ElementType
|
inherited |
◆ GlobalKeyType
|
inherited |
◆ GridPartType
| typedef BaseType::GridPartType Dune::Fem::__IndexSetDofMapper::DofMapper< GridPart, LocalDofMapping >::GridPartType |
◆ GridType
|
protected |
◆ IndexSetType
|
protectedinherited |
◆ LocalDofMappingType
| typedef BaseType::LocalDofMappingType Dune::Fem::__IndexSetDofMapper::DofMapper< GridPart, LocalDofMapping >::LocalDofMappingType |
◆ RefElementsType
|
protectedinherited |
◆ RefElementType
|
protectedinherited |
◆ SizeType
| typedef BaseType::SizeType Dune::Fem::__IndexSetDofMapper::DofMapper< GridPart, LocalDofMapping >::SizeType |
◆ SubEntityInfo
|
protected |
Member Enumeration Documentation
◆ CodimType
|
protectedinherited |
Constructor & Destructor Documentation
◆ DofMapper() [1/2]
|
inline |
◆ DofMapper() [2/2]
|
delete |
◆ ~DofMapper()
|
inline |
Member Function Documentation
◆ backup()
|
inlineinherited |
◆ code() [1/2]
|
inlineprotectedinherited |
◆ code() [2/2]
|
inlineprotectedinherited |
◆ compress()
|
inlineinherited |
◆ consecutive()
|
inlinestaticconstexprnoexceptinherited |
◆ contains()
|
inlineinherited |
◆ fixedDataSize()
|
inlineinherited |
◆ indexSet()
|
inlineprotectedinherited |
◆ insertEntity()
|
inlineinherited |
◆ map()
|
inlineinherited |
◆ mapEach()
|
inlineinherited |
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:
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()
|
inlineinherited |
◆ mapEntityDofs()
|
inlineinherited |
◆ maxNumDofs()
|
inlineinherited |
◆ newIndex()
|
inlineinherited |
◆ numberOfHoles()
|
inlineinherited |
◆ numBlocks()
|
inlineinherited |
◆ numDofs()
|
inlineinherited |
◆ numEntityDofs()
|
inlineinherited |
◆ offSet()
|
inlineinherited |
◆ oldIndex()
|
inlineinherited |
◆ oldOffSet()
|
inlineinherited |
◆ onSubEntity() [1/2]
|
inlineinherited |
◆ onSubEntity() [2/2]
|
inlineinherited |
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. this method returns which local dofs are attached to the given subentity. indices[locDofNr] = 0 : not attached, not equal to 0 : attached (so this method can still be used in the way the deprecated method was). New: In case the dof can be associated to a component of the space, the value returned is that component+1. In other cases (normal velocity for RT for example) the value is 1). So indices[i] is in [0,dimRange+1]
◆ operator=()
|
delete |
◆ read()
|
inlineinherited |
◆ removeEntity()
|
inlineinherited |
◆ requestCodimensions()
|
inlineprotectedinherited |
submit request for codimensions used to index set
◆ resize()
|
inlineinherited |
◆ restore()
|
inlineinherited |
◆ size()
|
inlineinherited |
◆ subEntityInfo()
|
inlineprotectedinherited |
◆ update()
|
inlineinherited |
update mapper offsets
◆ write()
|
inlineinherited |
Member Data Documentation
◆ blockMap_
|
protectedinherited |
◆ code_
|
protectedinherited |
◆ codimType_
|
protectedinherited |
◆ dimension
|
staticprotectedinherited |
◆ dofManager_
|
protected |
◆ indexSet_
|
protectedinherited |
◆ localDofMapping_
|
protectedinherited |
◆ maxNumDofs_
|
protectedinherited |
◆ size_
|
protectedinherited |
◆ subEntityInfo_
|
protectedinherited |
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