v0.8.4
Public Member Functions | Public Attributes | Private Attributes | List of all members
MoFEM::BasicEntityData Struct Reference

Basic data. like access to moab interface and basic tag handlers. More...

#include <src/multi_indices/EntsMultiIndices.hpp>

Collaboration diagram for MoFEM::BasicEntityData:
[legend]

Public Member Functions

 BasicEntityData (const moab::Interface &mfield, const int pcomm_id=MYPCOMM_INDEX)
 
virtual ~BasicEntityData ()
 
void setDistributedMesh ()
 
void unSetDistributedMesh ()
 
bool trueIfDistributedMesh () const
 

Public Attributes

moab::Interface & moab
 
int pcommID
 
Tag th_RefParentHandle
 
Tag th_RefBitLevel
 

Private Attributes

bool distributedMesh
 

Detailed Description

Basic data. like access to moab interface and basic tag handlers.

Definition at line 66 of file EntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ BasicEntityData()

MoFEM::BasicEntityData::BasicEntityData ( const moab::Interface &  mfield,
const int  pcomm_id = MYPCOMM_INDEX 
)

Definition at line 53 of file EntsMultiIndices.cpp.

55  : moab(const_cast<moab::Interface &>(moab)), pcommID(pcomm_id),
56  distributedMesh(true) {
57  rval = moab.tag_get_handle("_RefParentHandle", th_RefParentHandle);
59  rval = moab.tag_get_handle("_RefBitLevel", th_RefBitLevel);
61 }
#define MOAB_THROW(a)
Check error code of MoAB function and throw MoFEM exception.
Definition: definitions.h:623
moab::Interface & moab
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Common.hpp:78

◆ ~BasicEntityData()

MoFEM::BasicEntityData::~BasicEntityData ( )
virtual

Definition at line 62 of file EntsMultiIndices.cpp.

62 {}

Member Function Documentation

◆ setDistributedMesh()

void MoFEM::BasicEntityData::setDistributedMesh ( )

Definition at line 74 of file EntsMultiIndices.hpp.

◆ trueIfDistributedMesh()

bool MoFEM::BasicEntityData::trueIfDistributedMesh ( ) const

Definition at line 76 of file EntsMultiIndices.hpp.

◆ unSetDistributedMesh()

void MoFEM::BasicEntityData::unSetDistributedMesh ( )

Definition at line 75 of file EntsMultiIndices.hpp.

Member Data Documentation

◆ distributedMesh

bool MoFEM::BasicEntityData::distributedMesh
private

Definition at line 79 of file EntsMultiIndices.hpp.

◆ moab

moab::Interface& MoFEM::BasicEntityData::moab

Definition at line 67 of file EntsMultiIndices.hpp.

◆ pcommID

int MoFEM::BasicEntityData::pcommID

Definition at line 68 of file EntsMultiIndices.hpp.

◆ th_RefBitLevel

Tag MoFEM::BasicEntityData::th_RefBitLevel

Definition at line 70 of file EntsMultiIndices.hpp.

◆ th_RefParentHandle

Tag MoFEM::BasicEntityData::th_RefParentHandle

Definition at line 69 of file EntsMultiIndices.hpp.


The documentation for this struct was generated from the following files: