dune-fem 2.8.0
|
#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 |
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. | |
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 |
|
protectedinherited |
|
protected |
|
inherited |
|
inherited |
typedef BaseType::GridPartType Dune::Fem::__IndexSetDofMapper::DofMapper< GridPart, LocalDofMapping >::GridPartType |
|
protected |
|
protectedinherited |
typedef BaseType::LocalDofMappingType Dune::Fem::__IndexSetDofMapper::DofMapper< GridPart, LocalDofMapping >::LocalDofMappingType |
|
protectedinherited |
|
protectedinherited |
typedef BaseType::SizeType Dune::Fem::__IndexSetDofMapper::DofMapper< GridPart, LocalDofMapping >::SizeType |
|
protected |
|
protectedinherited |
|
inline |
|
delete |
|
inline |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlinestaticconstexprnoexceptinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
map each local DoF number to a global one
[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 |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
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.
|
delete |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
submit request for codimensions used to index set
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
update mapper offsets
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprotectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |