v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
MoFEM::RefEntityTmp<-1 > Struct Reference

#include <src/multi_indices/RefEntsMultiIndices.hpp>

Inheritance diagram for MoFEM::RefEntityTmp<-1 >:
[legend]
Collaboration diagram for MoFEM::RefEntityTmp<-1 >:
[legend]

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 const boost::shared_ptr< BasicEntityDatagetBasicDataPtr () const
 Get pointer to basic data struture. More...
 
- Public Member Functions inherited from MoFEM::RefEntityTmp< 0 >
 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< BasicEntityDatagetBasicDataPtr () const
 Get pointer to basic data struture. More...
 
int getSideNumber () const
 
boost::shared_ptr< SideNumbergetSideNumberPtr () 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...
 
EntityHandlegetSharingHandlersPtr () const
 get sharid entity handlers More...
 
EntityHandlegetParentEntPtr () const
 Get pointer to parent entity tag. More...
 
BitRefLevelgetBitRefLevelPtr () 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 BitRefLevelgetBitRefLevel () const
 Get entity ref bit refinement signature. More...
 
unsigned long int getBitRefLevelULong () const
 Get entity ref bit refinement as ulong. More...
 

Private Attributes

boost::weak_ptr< BasicEntityDatabasicDataPtr
 

Additional Inherited Members

- Static Public Member Functions inherited from MoFEM::RefEntityTmp< 0 >
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 inherited from MoFEM::RefEntityTmp< 0 >
EntityHandle ent
 
- Static Public Attributes inherited from MoFEM::RefEntityTmp< 0 >
static boost::weak_ptr< BasicEntityDatabasicDataPtr
 

Detailed Description

Definition at line 544 of file RefEntsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ RefEntityTmp() [1/2]

MoFEM::RefEntityTmp<-1 >::RefEntityTmp ( const boost::shared_ptr< BasicEntityData > &  basic_data_ptr,
const EntityHandle  ent 
)
inline

Definition at line 546 of file RefEntsMultiIndices.hpp.

548 : RefEntityTmp<0>(basic_data_ptr, ent), basicDataPtr(basic_data_ptr) {}
boost::weak_ptr< BasicEntityData > basicDataPtr

◆ RefEntityTmp() [2/2]

MoFEM::RefEntityTmp<-1 >::RefEntityTmp ( const boost::shared_ptr< BasicEntityData > &  basic_data_ptr,
const EntityHandle  ent,
EntityHandle ent_parent_tag_ptr 
)
inline

Definition at line 550 of file RefEntsMultiIndices.hpp.

552 : RefEntityTmp<0>(basic_data_ptr, ent, ent_parent_tag_ptr),
553 basicDataPtr(basic_data_ptr) {}

Member Function Documentation

◆ getBasicDataPtr()

virtual const boost::shared_ptr< BasicEntityData > MoFEM::RefEntityTmp<-1 >::getBasicDataPtr ( ) const
inlinevirtual

Get pointer to basic data struture.

Returns
const boost::shared_ptr<BasicEntityData>

Reimplemented from MoFEM::RefEntityTmp< 0 >.

Definition at line 555 of file RefEntsMultiIndices.hpp.

555 {
556 if (auto ptr = basicDataPtr.lock())
557 return ptr;
558 else
559 return nullptr;
560 }

Member Data Documentation

◆ basicDataPtr

boost::weak_ptr<BasicEntityData> MoFEM::RefEntityTmp<-1 >::basicDataPtr
mutableprivate

Definition at line 563 of file RefEntsMultiIndices.hpp.


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