![]() |
v0.16.3 |
keeps information about indexed dofs for the problem More...
#include "src/multi_indices/DofsMultiIndices.hpp"
Public Types | |
| using | interface_type_Field = interface_FieldImpl< DofEntity, DofEntity > |
| using | interface_type_FieldEntity = interface_FieldEntity< DofEntity > |
| using | interface_type_DofEntity = interface_DofEntity< DofEntity > |
| using | interface_type_RefEntity = interface_RefEntity< DofEntity > |
Public Types inherited from MoFEM::interface_Field< T, T > | |
| using | interface_type_FieldImpl = interface_FieldImpl< T, T > |
Public Types inherited from MoFEM::interface_FieldImpl< T, T > | |
| using | interface_type_RefEntity = interface_RefEntity< T > |
Public Member Functions | |
| virtual | ~NumeredDofEntity ()=default |
| DofIdx | getPetscGlobalDofIdx () const |
| DofIdx | getPetscLocalDofIdx () const |
| unsigned int | getPart () const |
| bool | getHasLocalIndex () const |
| NumeredDofEntity (const boost::shared_ptr< DofEntity > &dof_entity_ptr, const int petsc_gloabl_dof_idx=-1, const int petsc_local_dof_idx=-1, const int part=-1) | |
Public Member Functions inherited from MoFEM::interface_DofEntity< DofEntity > | |
| virtual | ~interface_DofEntity ()=default |
| interface_DofEntity (const boost::shared_ptr< DofEntity > &sptr) | |
| UId | getGlobalUniqueId () const |
| UId | getEntGlobalUniqueId () const |
| UId | getLocalUniqueId () const |
| const UId & | getEntLocalUniqueId () const |
| ShortId | getNonNonuniqueShortId () const |
| DofIdx | getEntDofIdx () const |
| FieldData & | getFieldData () const |
| EntityHandle | getEnt () const |
| ApproximationOrder | getDofOrder () const |
| FieldCoefficientsNumber | getDofCoeffIdx () const |
| char | getActive () const |
| boost::shared_ptr< DofEntity > & | getDofEntityPtr () const |
| boost::shared_ptr< FieldEntity > & | getFieldEntityPtr () const |
Public Member Functions inherited from MoFEM::interface_FieldEntity< T > | |
| interface_FieldEntity (const boost::shared_ptr< T > &sptr) | |
| int | getNbDofsOnEnt () const |
| VectorAdaptor | getEntFieldData () const |
| int | getOrderNbDofs (ApproximationOrder order) const |
| int | getOrderNbDofsDiff (ApproximationOrder order) const |
| ApproximationOrder | getMaxOrder () const |
| UId | getGlobalUniqueId () const |
| UId & | getLocalUniqueId () const |
| boost::shared_ptr< RefEntity > & | getRefEntityPtr () const |
| boost::shared_ptr< FieldEntity > & | getFieldEntityPtr () const |
| const std::array< int, MAX_DOFS_ON_ENTITY > & | getDofOrderMap () const |
| get hash-map relating dof index on entity with its order | |
| template<typename S = EntityStorage> | |
| boost::shared_ptr< S > | getSharedStoragePtr () const |
| Get the Weak Storage pointer. | |
| boost::weak_ptr< EntityStorage > & | getWeakStoragePtr () const |
Public Member Functions inherited from MoFEM::interface_Field< T, T > | |
| interface_Field (const boost::shared_ptr< T > &ptr) | |
| Constructor. | |
| EntityHandle | getMeshset () const |
| Get field meshset handle. | |
| const BitFieldId & | getId () const |
| Get field ID. | |
| boost::string_ref | getNameRef () const |
| Get field name reference. | |
| std::string | getName () const |
| Get field name. | |
| FieldSpace | getSpace () const |
| Get approximation space. | |
| auto | getSpaceName () const |
| Get approximation space name. | |
| FieldApproximationBase | getApproxBase () const |
| Get approximation basis. | |
| auto | getApproxBaseName () const |
| Get approximation basis name. | |
| FieldCoefficientsNumber | getNbOfCoeffs () const |
| Get number of coefficients per DOF. | |
| FieldBitNumber | getBitNumber () const |
| Get bit number for field ID. | |
| std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & | getDofOrderMap (const EntityType type) const |
| Get DOF order mapping for entity type. | |
| const Field * | getFieldRawPtr () const |
| Get raw field pointer. | |
Public Member Functions inherited from MoFEM::interface_FieldImpl< T, T > | |
| interface_FieldImpl (const boost::shared_ptr< T > &field_ptr, const boost::shared_ptr< T > &ref_ents_ptr) | |
| Constructor with field and reference entity pointers. | |
| virtual | ~interface_FieldImpl ()=default |
| Virtual destructor. | |
Public Member Functions inherited from MoFEM::interface_RefEntity< T > | |
| interface_RefEntity (const boost::shared_ptr< T > &sptr) | |
| interface_RefEntity (const interface_RefEntity< T > &interface) | |
| virtual | ~interface_RefEntity ()=default |
| int | getSideNumber () const |
| boost::shared_ptr< SideNumber > | getSideNumberPtr () const |
| const boost::shared_ptr< BasicEntityData > | getBasicDataPtr () const |
| EntityHandle | getEnt () const |
| EntityType | getParentEntType () const |
| EntityHandle | getParentEnt () const |
| BitRefLevel * | getBitRefLevelPtr () const |
| const BitRefLevel & | getBitRefLevel () const |
| unsigned long int | getBitRefLevelULong () const |
| EntityType | getEntType () const |
| int | getEntDimension () const |
| const char * | getEntTypeName () const |
| EntityID | getEntId () const |
| EntityHandle | getOwnerEnt () const |
| EntityHandle & | getOwnerEnt () |
| int | getOwnerProc () const |
| int | getOwnerProc (ParallelComm *pcomm) const |
| int | getPartProc () const |
| int * | getPartProcPtr () const |
| unsigned char | getPStatus () const |
| unsigned char | getPStatus (ParallelComm *pcomm) const |
| int * | getSharingProcsPtr () const |
| int * | getSharingProcsPtr (ParallelComm *pcomm) const |
| EntityHandle * | getSharingHandlersPtr () const |
| boost::shared_ptr< T > & | getRefEntityPtr () const |
Public Attributes | |
| DofIdx | petscGloablDofIdx |
| DofIdx | petscLocalDofIdx |
| unsigned int | pArt |
Public Attributes inherited from MoFEM::interface_RefEntity< T > | |
| boost::shared_ptr< T > | sPtr |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const NumeredDofEntity &e) |
keeps information about indexed dofs for the problem
A numbered DOF carries its part and its PETSc global and local indices. Before a replicated problem is partitioned the global index is provisional: the insertion (UID) order, the same on every rank.
FIXME: Is too many iterator, this has to be manage more efficiently, some iterators could be moved to multi_indices views.
Definition at line 232 of file DofsMultiIndices.hpp.
Definition at line 238 of file DofsMultiIndices.hpp.
Definition at line 236 of file DofsMultiIndices.hpp.
Definition at line 237 of file DofsMultiIndices.hpp.
Definition at line 239 of file DofsMultiIndices.hpp.
|
virtualdefault |
| MoFEM::NumeredDofEntity::NumeredDofEntity | ( | const boost::shared_ptr< DofEntity > & | dof_entity_ptr, |
| const int | petsc_gloabl_dof_idx = -1, |
||
| const int | petsc_local_dof_idx = -1, |
||
| const int | part = -1 |
||
| ) |
Definition at line 66 of file DofsMultiIndices.cpp.
|
inline |
Definition at line 255 of file DofsMultiIndices.hpp.
|
inline |
Definition at line 252 of file DofsMultiIndices.hpp.
|
inline |
|
inline |
|
friend |
Definition at line 77 of file DofsMultiIndices.cpp.
| unsigned int MoFEM::NumeredDofEntity::pArt |
Definition at line 243 of file DofsMultiIndices.hpp.
| DofIdx MoFEM::NumeredDofEntity::petscGloablDofIdx |
Definition at line 241 of file DofsMultiIndices.hpp.
| DofIdx MoFEM::NumeredDofEntity::petscLocalDofIdx |
Definition at line 242 of file DofsMultiIndices.hpp.