v0.14.0 |
keeps information about DOF on the entity More...
#include <src/multi_indices/DofsMultiIndices.hpp>
Public Types | |
using | interface_type_Field = interface_FieldImpl< FieldEntity, FieldEntity > |
using | interface_type_FieldEntity = interface_FieldEntity< FieldEntity > |
using | interface_type_RefEntity = interface_RefEntity< FieldEntity > |
Public Types inherited from MoFEM::interface_FieldImpl< FieldEntity, FieldEntity > | |
using | interface_type_RefEntity = interface_RefEntity< FieldEntity > |
Public Member Functions | |
virtual | ~DofEntity ()=default |
DofEntity (const boost::shared_ptr< FieldEntity > &entity_ptr, const ApproximationOrder dof_order, const FieldCoefficientsNumber dof_rank, const DofIdx dof) | |
DofIdx | getEntDofIdx () const |
FieldData & | getFieldData () const |
const UId & | getEntLocalUniqueId () const |
const UId | getEntGlobalUniqueId () const |
UId | getLocalUniqueId () const |
UId | getGlobalUniqueId () const |
ShortId | getNonNonuniqueShortId () const |
get short uid it is unique in combination with entity handle More... | |
EntityHandle | getEnt () const |
ApproximationOrder | getDofOrder () const |
FieldCoefficientsNumber | getDofCoeffIdx () const |
char | getActive () const |
Public Member Functions inherited from MoFEM::interface_FieldEntity< FieldEntity > | |
interface_FieldEntity (const boost::shared_ptr< FieldEntity > &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 More... | |
boost::shared_ptr< S > | getSharedStoragePtr () const |
boost::weak_ptr< EntityStorage > & | getWeakStoragePtr () const |
Public Member Functions inherited from MoFEM::interface_Field< FieldEntity, FieldEntity > | |
interface_Field (const boost::shared_ptr< FieldEntity > &field_ptr, const boost::shared_ptr< FieldEntity > &ref_ents_ptr) | |
EntityHandle | getMeshset () const |
int | getCoordSysDim (const int d=0) const |
const BitFieldId & | getId () const |
boost::string_ref | getNameRef () const |
std::string | getName () const |
FieldSpace | getSpace () const |
FieldApproximationBase | getApproxBase () const |
FieldContinuity | getContinuity () const |
auto | getContinuityName () const |
FieldCoefficientsNumber | getNbOfCoeffs () const |
FieldBitNumber | getBitNumber () const |
std::array< ApproximationOrder, MAX_DOFS_ON_ENTITY > & | getDofOrderMap (const EntityType type) const |
get hash-map relating dof index on entity with its order More... | |
const Field * | getFieldRawPtr () const |
FieldOrderTable & | getFieldOrderTable () |
auto & | getDofSideMap () |
Public Member Functions inherited from MoFEM::interface_FieldImpl< FieldEntity, FieldEntity > | |
interface_FieldImpl (const boost::shared_ptr< FieldEntity > &field_ptr, const boost::shared_ptr< FieldEntity > &ref_ents_ptr) | |
virtual | ~interface_FieldImpl ()=default |
Public Member Functions inherited from MoFEM::interface_RefEntity< FieldEntity > | |
interface_RefEntity (const boost::shared_ptr< FieldEntity > &sptr) | |
interface_RefEntity (const interface_RefEntity< FieldEntity > &interface) | |
virtual | ~interface_RefEntity ()=default |
int | getSideNumber () const |
boost::shared_ptr< SideNumber > | getSideNumberPtr () const |
Get the Side number. More... | |
const boost::shared_ptr< BasicEntityData > | getBasicDataPtr () const |
Get pointer to basic data struture. More... | |
EntityHandle | getEnt () const |
Get the entity handle. More... | |
EntityType | getParentEntType () const |
Get patent entity. More... | |
EntityHandle | getParentEnt () const |
BitRefLevel * | getBitRefLevelPtr () const |
Get pointer to bit ref level tag. More... | |
const BitRefLevel & | getBitRefLevel () const |
unsigned long int | getBitRefLevelULong () const |
Get entity ref bit refinement as ulong. More... | |
EntityType | getEntType () const |
Get entity type. More... | |
int | getEntDimension () const |
Get the Ent Dimension. More... | |
const char * | getEntTypeName () const |
Get the Ent Type Name. More... | |
EntityID | getEntId () const |
get entity id More... | |
EntityHandle | getOwnerEnt () const |
EntityHandle & | getOwnerEnt () |
int | getOwnerProc () const |
int | getPartProc () const |
int * | getPartProcPtr () const |
Get pointer to partition tag. More... | |
unsigned char | getPStatus () const |
int * | getSharingProcsPtr () const |
get shared processors More... | |
EntityHandle * | getSharingHandlersPtr () const |
get sharid entity handlers More... | |
boost::shared_ptr< FieldEntity > & | getRefEntityPtr () const |
Static Public Member Functions | |
static ShortId | getNonNonuniqueShortId (const DofIdx dof, const boost::shared_ptr< FieldEntity > &ent_ptr) |
static UId | getUniqueIdCalculate (const DofIdx dof, UId ent_uid) |
static UId | getLocalUniqueIdCalculate (const DofIdx dof, const boost::shared_ptr< FieldEntity > &ent_ptr) |
static UId | getLoFieldEntityUId (const FieldBitNumber bit, const EntityHandle ent) |
static UId | getHiFieldEntityUId (const FieldBitNumber bit, const EntityHandle ent) |
static UId | getGlobalUniqueIdCalculate (const DofIdx dof, const boost::shared_ptr< FieldEntity > &ent_ptr) |
Calculate UId for DOF. More... | |
Private Attributes | |
DofIdx | dof |
Friends | |
struct | DofEntity_active_change |
std::ostream & | operator<< (std::ostream &os, const DofEntity &e) |
Additional Inherited Members | |
Public Attributes inherited from MoFEM::interface_RefEntity< FieldEntity > | |
boost::shared_ptr< FieldEntity > | sPtr |
keeps information about DOF on the entity
Definition at line 16 of file DofsMultiIndices.hpp.
Definition at line 20 of file DofsMultiIndices.hpp.
Definition at line 21 of file DofsMultiIndices.hpp.
Definition at line 22 of file DofsMultiIndices.hpp.
|
virtualdefault |
MoFEM::DofEntity::DofEntity | ( | const boost::shared_ptr< FieldEntity > & | entity_ptr, |
const ApproximationOrder | dof_order, | ||
const FieldCoefficientsNumber | dof_rank, | ||
const DofIdx | dof | ||
) |
Definition at line 10 of file DofsMultiIndices.cpp.
|
inline |
|
inline |
Definition at line 131 of file DofsMultiIndices.hpp.
|
inline |
Definition at line 126 of file DofsMultiIndices.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 50 of file DofsMultiIndices.hpp.
|
inline |
Definition at line 45 of file DofsMultiIndices.hpp.
|
inline |
|
inline |
Definition at line 99 of file DofsMultiIndices.hpp.
|
inlinestatic |
Calculate UId for DOF.
UId is constructed such that all DOFs are ordered by processor, entity, field and dof index on entity, On entity dofs index is constructed such that coefficient number and dofs increase with dofs index on entity.
dof | dof index on entity |
ent_ptr | pointer to field entity |
Definition at line 93 of file DofsMultiIndices.hpp.
|
inlinestatic |
Definition at line 75 of file DofsMultiIndices.hpp.
|
inline |
Definition at line 65 of file DofsMultiIndices.hpp.
|
inlinestatic |
Definition at line 59 of file DofsMultiIndices.hpp.
|
inlinestatic |
Definition at line 69 of file DofsMultiIndices.hpp.
|
inline |
get short uid it is unique in combination with entity handle
EntityHandle are controlled by MOAB, which is unique in MOAB instance. However two MOAB instances, can have attached different EntityHandles to the same entity.
Relation between MoAB EntityHandle can be handled by saving entity handle data into tag, see MB_TYPE_HANDLE. MOAB at time of file reading or creating new MOAB instance, substitute tag value by approbate entity handle.
ShortId is created to handle problems related to saving data series, and reading those data using different MoAB instances.
Definition at line 118 of file DofsMultiIndices.hpp.
|
inlinestatic |
Definition at line 25 of file DofsMultiIndices.hpp.
Definition at line 54 of file DofsMultiIndices.hpp.
|
friend |
Definition at line 143 of file DofsMultiIndices.hpp.
|
friend |
Definition at line 39 of file DofsMultiIndices.cpp.
|
private |
Definition at line 141 of file DofsMultiIndices.hpp.