![]() |
v0.14.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) |
static MoFEMErrorCode | getBitRefLevel (Interface &moab, std::vector< EntityHandle > &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 141 of file RefEntsMultiIndices.hpp.
MoFEM::RefEntityTmp< 0 >::RefEntityTmp | ( | const boost::shared_ptr< BasicEntityData > & | basic_data_ptr, |
const EntityHandle | ent | ||
) |
Definition at line 25 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 33 of file RefEntsMultiIndices.cpp.
|
virtualdefault |
|
inlinevirtual |
Get pointer to basic data struture.
Reimplemented in MoFEM::RefEntityTmp<-1 >.
Definition at line 156 of file RefEntsMultiIndices.hpp.
|
inline |
Get entity ref bit refinement signature.
Definition at line 509 of file RefEntsMultiIndices.hpp.
|
inlinestatic |
Definition at line 433 of file RefEntsMultiIndices.hpp.
|
inlinestatic |
Definition at line 445 of file RefEntsMultiIndices.hpp.
|
inlinestatic |
Definition at line 458 of file RefEntsMultiIndices.hpp.
|
inline |
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 491 of file RefEntsMultiIndices.hpp.
|
inline |
Get entity ref bit refinement as ulong.
Definition at line 515 of file RefEntsMultiIndices.hpp.
|
inline |
|
inline |
Get the Ent Dimension.
Definition at line 190 of file RefEntsMultiIndices.hpp.
|
inline |
|
inline |
Get entity type.
Definition at line 181 of file RefEntsMultiIndices.hpp.
|
inline |
Get the Ent Type Name.
Definition at line 199 of file RefEntsMultiIndices.hpp.
|
inline |
Owner handle on this or other processors.
Definition at line 240 of file RefEntsMultiIndices.hpp.
|
inlinestatic |
Definition at line 208 of file RefEntsMultiIndices.hpp.
|
inline |
Definition at line 275 of file RefEntsMultiIndices.hpp.
|
inlinestatic |
Definition at line 245 of file RefEntsMultiIndices.hpp.
|
inline |
Get parent entity, i.e. entity form one refinement level up.
Definition at line 505 of file RefEntsMultiIndices.hpp.
|
static |
|
inline |
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 478 of file RefEntsMultiIndices.hpp.
|
inline |
Get patent entity.
Definition at line 499 of file RefEntsMultiIndices.hpp.
|
inline |
Get processor.
Definition at line 291 of file RefEntsMultiIndices.hpp.
|
inlinestatic |
Definition at line 280 of file RefEntsMultiIndices.hpp.
|
inline |
Get pointer to partition tag.
Definition at line 307 of file RefEntsMultiIndices.hpp.
|
inline |
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 333 of file RefEntsMultiIndices.hpp.
|
inlineprivate |
Get the pointer to reference element.
Definition at line 533 of file RefEntsMultiIndices.hpp.
|
inline |
get sharid entity handlers
Returning list to shared entity handlers. Use it with getSharingProcsPtr()
DO NOT MODIFY LIST.
Definition at line 410 of file RefEntsMultiIndices.hpp.
|
inline |
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 368 of file RefEntsMultiIndices.hpp.
int MoFEM::RefEntityTmp< 0 >::getSideNumber | ( | ) | const |
Definition at line 38 of file RefEntsMultiIndices.cpp.
boost::shared_ptr< SideNumber > MoFEM::RefEntityTmp< 0 >::getSideNumberPtr | ( | ) | const |
|
friend |
Definition at line 525 of file RefEntsMultiIndices.hpp.
|
friend |
Definition at line 526 of file RefEntsMultiIndices.hpp.
|
friend |
|
static |
Definition at line 522 of file RefEntsMultiIndices.hpp.
EntityHandle MoFEM::RefEntityTmp< 0 >::ent |
Definition at line 521 of file RefEntsMultiIndices.hpp.
|
private |
Tag ptr to parent entity handle.
Definition at line 541 of file RefEntsMultiIndices.hpp.
|
staticprivate |
Definition at line 540 of file RefEntsMultiIndices.hpp.