![]() |
v0.13.0 |
Struct keeps handle to refined handle. More...
#include <src/multi_indices/RefEntsMultiIndices.hpp>
Public Member Functions | |
RefEntityTmp (const boost::shared_ptr< BasicEntityData > &basic_data_ptr, const EntityHandle ent) | |
RefEntityTmp (const boost::shared_ptr< BasicEntityData > &basic_data_ptr, const EntityHandle ent, EntityHandle *ent_parent_tag_ptr) | |
virtual | ~RefEntityTmp ()=default |
virtual const boost::shared_ptr< BasicEntityData > | getBasicDataPtr () const |
Get pointer to basic data struture. More... | |
int | getSideNumber () const |
boost::shared_ptr< SideNumber > | getSideNumberPtr () const |
Get the Side number. More... | |
EntityHandle | getEnt () const |
Get the entity handle. 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 |
Owner handle on this or other processors. More... | |
int | getOwnerProc () const |
int | getPartProc () const |
Get processor. More... | |
int * | getPartProcPtr () const |
Get pointer to partition tag. More... | |
unsigned char | getPStatus () const |
get pstatus This tag stores various aspects of parallel status in bits; see also define following, to be used in bit mask operations. If an entity is not shared with any other processors, the pstatus is 0, otherwise it's > 0 More... | |
int * | getSharingProcsPtr () const |
get shared processors More... | |
EntityHandle * | getSharingHandlersPtr () const |
get sharid entity handlers More... | |
EntityHandle * | getParentEntPtr () const |
Get pointer to parent entity tag. More... | |
BitRefLevel * | getBitRefLevelPtr () const |
Get pointer to bit ref level tag. More... | |
EntityType | getParentEntType () const |
Get patent entity. More... | |
EntityHandle | getParentEnt () const |
Get parent entity, i.e. entity form one refinement level up. More... | |
const BitRefLevel & | getBitRefLevel () const |
Get entity ref bit refinement signature. More... | |
unsigned long int | getBitRefLevelULong () const |
Get entity ref bit refinement as ulong. More... | |
Static Public Member Functions | |
static EntityHandle | getOwnerEnt (const EntityHandle ent, boost::shared_ptr< BasicEntityData > basic_ent_data) |
static int | getOwnerProc (const EntityHandle ent, boost::shared_ptr< BasicEntityData > basic_ent_data) |
static int | getPartProc (const EntityHandle ent, const Tag th, const boost::shared_ptr< BasicEntityData > &basic_ptr) |
static MoFEMErrorCode | getParentEnt (Interface &moab, Range ents, std::vector< EntityHandle > vec_patent_ent) |
static MoFEMErrorCode | getBitRefLevel (Interface &moab, Range ents, std::vector< BitRefLevel > &vec_bit_ref_level) |
static MoFEMErrorCode | getBitRefLevel (Interface &moab, Range ents, std::vector< const BitRefLevel * > &vec_ptr_bit_ref_level) |
Public Attributes | |
EntityHandle | ent |
Static Public Attributes | |
static boost::weak_ptr< BasicEntityData > | basicDataPtr |
Private Member Functions | |
const boost::shared_ptr< RefElement > | getRefElementPtr () const |
Get the pointer to reference element. More... | |
Private Attributes | |
EntityHandle * | entParentTagPtr |
Tag ptr to parent entity handle. More... | |
Static Private Attributes | |
static boost::weak_ptr< RefElement > | refElementPtr |
Friends | |
struct | EntFiniteElement |
struct | NumeredEntFiniteElement |
std::ostream & | operator<< (std::ostream &os, const RefEntityTmp &e) |
Struct keeps handle to refined handle.
Definition at line 157 of file RefEntsMultiIndices.hpp.
MoFEM::RefEntityTmp< 0 >::RefEntityTmp | ( | const boost::shared_ptr< BasicEntityData > & | basic_data_ptr, |
const EntityHandle | ent | ||
) |
Definition at line 38 of file RefEntsMultiIndices.cpp.
MoFEM::RefEntityTmp< 0 >::RefEntityTmp | ( | const boost::shared_ptr< BasicEntityData > & | basic_data_ptr, |
const EntityHandle | ent, | ||
EntityHandle * | ent_parent_tag_ptr | ||
) |
Definition at line 46 of file RefEntsMultiIndices.cpp.
|
virtualdefault |
|
virtual |
Get pointer to basic data struture.
Reimplemented in MoFEM::RefEntityTmp<-1 >.
Definition at line 172 of file RefEntsMultiIndices.hpp.
const BitRefLevel& MoFEM::RefEntityTmp< 0 >::getBitRefLevel | ( | ) | const |
Get entity ref bit refinement signature.
Definition at line 514 of file RefEntsMultiIndices.hpp.
|
static |
Definition at line 451 of file RefEntsMultiIndices.hpp.
|
static |
Definition at line 463 of file RefEntsMultiIndices.hpp.
BitRefLevel* MoFEM::RefEntityTmp< 0 >::getBitRefLevelPtr | ( | ) | const |
Get pointer to bit ref level tag.
Every entity belongs to some refinement level or levels. Each level is marked by bit set in BitRefLevel() (bitset) structure.
See Explaining mesh BitRefLevel for explanation.
Definition at line 496 of file RefEntsMultiIndices.hpp.
unsigned long int MoFEM::RefEntityTmp< 0 >::getBitRefLevelULong | ( | ) | const |
Get entity ref bit refinement as ulong.
Definition at line 520 of file RefEntsMultiIndices.hpp.
EntityHandle MoFEM::RefEntityTmp< 0 >::getEnt | ( | ) | const |
int MoFEM::RefEntityTmp< 0 >::getEntDimension | ( | ) | const |
Get the Ent Dimension.
Definition at line 206 of file RefEntsMultiIndices.hpp.
EntityID MoFEM::RefEntityTmp< 0 >::getEntId | ( | ) | const |
EntityType MoFEM::RefEntityTmp< 0 >::getEntType | ( | ) | const |
const char* MoFEM::RefEntityTmp< 0 >::getEntTypeName | ( | ) | const |
EntityHandle MoFEM::RefEntityTmp< 0 >::getOwnerEnt | ( | ) | const |
Owner handle on this or other processors.
Definition at line 258 of file RefEntsMultiIndices.hpp.
|
static |
Definition at line 226 of file RefEntsMultiIndices.hpp.
int MoFEM::RefEntityTmp< 0 >::getOwnerProc | ( | ) | const |
Definition at line 293 of file RefEntsMultiIndices.hpp.
|
static |
Definition at line 263 of file RefEntsMultiIndices.hpp.
EntityHandle MoFEM::RefEntityTmp< 0 >::getParentEnt | ( | ) | const |
Get parent entity, i.e. entity form one refinement level up.
Definition at line 510 of file RefEntsMultiIndices.hpp.
|
static |
EntityHandle* MoFEM::RefEntityTmp< 0 >::getParentEntPtr | ( | ) | const |
Get pointer to parent entity tag.
Each refined entity has his parent. Such information is stored on tags. This function get pinter to tag.
Definition at line 483 of file RefEntsMultiIndices.hpp.
EntityType MoFEM::RefEntityTmp< 0 >::getParentEntType | ( | ) | const |
Get patent entity.
Definition at line 504 of file RefEntsMultiIndices.hpp.
int MoFEM::RefEntityTmp< 0 >::getPartProc | ( | ) | const |
Get processor.
Definition at line 309 of file RefEntsMultiIndices.hpp.
|
static |
Definition at line 298 of file RefEntsMultiIndices.hpp.
int* MoFEM::RefEntityTmp< 0 >::getPartProcPtr | ( | ) | const |
unsigned char MoFEM::RefEntityTmp< 0 >::getPStatus | ( | ) | const |
get pstatus This tag stores various aspects of parallel status in bits; see also define following, to be used in bit mask operations. If an entity is not shared with any other processors, the pstatus is 0, otherwise it's > 0
bit 0: !owned (0=owned, 1=not owned) bit 1: shared (0=not shared, 1=shared) bit 2: multishared (shared by > 2 procs; 0=not shared, 1=shared) bit 3: interface (0=not interface, 1=interface) bit 4: ghost (0=not ghost, 1=ghost)
Definition at line 351 of file RefEntsMultiIndices.hpp.
|
private |
Get the pointer to reference element.
Definition at line 538 of file RefEntsMultiIndices.hpp.
EntityHandle* MoFEM::RefEntityTmp< 0 >::getSharingHandlersPtr | ( | ) | const |
get sharid entity handlers
Returning list to shared entity handlers. Use it with getSharingProcsPtr()
DO NOT MODIFY LIST.
Definition at line 428 of file RefEntsMultiIndices.hpp.
int* MoFEM::RefEntityTmp< 0 >::getSharingProcsPtr | ( | ) | const |
get shared processors
Returning list to shared processors. Lists end with -1. Returns NULL if not sharing processors.
DO NOT MODIFY LIST.
Definition at line 386 of file RefEntsMultiIndices.hpp.
int MoFEM::RefEntityTmp< 0 >::getSideNumber | ( | ) | const |
Definition at line 51 of file RefEntsMultiIndices.cpp.
boost::shared_ptr< SideNumber > MoFEM::RefEntityTmp< 0 >::getSideNumberPtr | ( | ) | const |
|
friend |
Definition at line 530 of file RefEntsMultiIndices.hpp.
|
friend |
Definition at line 531 of file RefEntsMultiIndices.hpp.
|
friend |
|
static |
Definition at line 527 of file RefEntsMultiIndices.hpp.
EntityHandle MoFEM::RefEntityTmp< 0 >::ent |
Definition at line 526 of file RefEntsMultiIndices.hpp.
|
private |
Tag ptr to parent entity handle.
Definition at line 546 of file RefEntsMultiIndices.hpp.
|
staticprivate |
Definition at line 545 of file RefEntsMultiIndices.hpp.