hObj Class Reference
[Hybrid Mesh Module]

#include <hObj.h>

Inheritance diagram for hObj:
Inheritance graph
[legend]
Collaboration diagram for hObj:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~hObj ()
bool operator== (const hObj &other) const
 operator const EntityAttributes () const
hObjnext ()
const hObjnext () const
int nCurrentSons () const
bool isBroken () const
bool isMarkedBreak () const
bool isMarkedDref () const
bool isSliceBroken () const
bool isNull () const
void mark2Ref (hHybridMesh *myMesh, const int refType=8)
void mark2Dref (hHybridMesh *myMesh)
void mark2Del (hHybridMesh *myMesh)
int hBreak (hHybridMesh *myMesh, const Tind sonsCount=8)
void derefine (hHybridMesh *myMesh)
bool test (const hHybridMesh *myMesh) const
double * geoCenter (const hHybridMesh *myMesh, double center[3]) const
bool equals (const hObj &other, bool compareBreak=false) const
template<class T >
TgetMyClassChild (const int number)
template<class T >
const TgetMyClassChild (const int number) const
bool isAtBoundary () const
void setAtBoundary (const bool atBoundary)
bool operator< (const hObj &other) const
void print () const
void updatePointers ()
const IDverts (const uTind i) const
const IDverts () const
void swapVerts (const int v1, const int v2)
IDcomponents (const uTind i)
const IDcomponents (const uTind i) const
IDcomponents ()
const IDcomponents () const
int & flags (const uTind i)
const int & flags (const uTind i) const
int * flags ()
const int * flags () const
IDneighs (const uTind i)
const IDneighs (const uTind i) const
IDneighs ()
const IDneighs () const
IDsons (const uTind i)
const IDsons (const uTind i) const
IDsons ()
const IDsons () const
void incRef ()
void decRef (hHybridMesh *myMesh)

Static Public Member Functions

static ID makeId (const uTind posId, const uTind typeId)
static uTind posFromId (const ID id)
static uTind typeFromId (const ID id)
static ID maxId ()
static ID maxPos ()
static ID maxType ()
static bool comparePtrs (const hObj *me, const hObj *other)

Public Attributes

union {
   ID   id_
   struct {
      ID   pos_:29
      ID   type_:3
   } 
}; 
ID parent_
uint8_t mySize_
int8_t level_
int8_t nMyClassSons_
int8_t nOtherSons_
int8_t nRefs
EntityAttributes const & typeSpecyfic_

Static Public Attributes

static const int nTypes = 8
static const EntityAttributes eTable [nTypes]
static const int8_t delMark = -4
static const int8_t derefMark = -3
static const int8_t nothingMark = 0
static const int8_t partialRefMark = -1
static const int8_t fullRefMark = -2

Protected Member Functions

 hObj (const uTind posID, const EntityAttributes &typeSpecyfic)
void updateHash (hHybridMesh *myMesh) const

Protected Attributes

IDnodes_

Friends

std::ostream & operator<< (std::ostream &os, const hObj &obj)

Constructor & Destructor Documentation

hObj::hObj ( const uTind  posID,
const EntityAttributes typeSpecyfic 
) [protected]
hObj::~hObj (  ) 

Member Function Documentation

static bool hObj::comparePtrs ( const hObj me,
const hObj other 
) [inline, static]
const ID* hObj::components (  )  const [inline]
ID* hObj::components (  )  [inline]

Here is the caller graph for this function:

const ID& hObj::components ( const uTind  i  )  const [inline]
ID& hObj::components ( const uTind  i  )  [inline]

Here is the caller graph for this function:

void hObj::decRef ( hHybridMesh myMesh  )  [inline]

Here is the call graph for this function:

void hObj::derefine ( hHybridMesh myMesh  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool hObj::equals ( const hObj other,
bool  compareBreak = false 
) const

Here is the call graph for this function:

const int* hObj::flags (  )  const [inline]
int* hObj::flags (  )  [inline]
const int& hObj::flags ( const uTind  i  )  const [inline]
int& hObj::flags ( const uTind  i  )  [inline]

Here is the caller graph for this function:

double* hObj::geoCenter ( const hHybridMesh myMesh,
double  center[3] 
) const

Here is the caller graph for this function:

template<class T >
const T* hObj::getMyClassChild ( const int  number  )  const [inline]

Here is the call graph for this function:

template<class T >
T* hObj::getMyClassChild ( const int  number  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

int hObj::hBreak ( hHybridMesh myMesh,
const Tind  sonsCount = 8 
)

Here is the caller graph for this function:

void hObj::incRef (  )  [inline]
bool hObj::isAtBoundary (  )  const [inline]
bool hObj::isBroken (  )  const [inline]

Here is the caller graph for this function:

bool hObj::isMarkedBreak (  )  const [inline]

Here is the caller graph for this function:

bool hObj::isMarkedDref (  )  const [inline]
bool hObj::isNull (  )  const [inline]
bool hObj::isSliceBroken (  )  const [inline]

Here is the call graph for this function:

static ID hObj::makeId ( const uTind  posId,
const uTind  typeId 
) [inline, static]

Here is the caller graph for this function:

void hObj::mark2Del ( hHybridMesh myMesh  ) 

Here is the caller graph for this function:

void hObj::mark2Dref ( hHybridMesh myMesh  ) 

Here is the caller graph for this function:

void hObj::mark2Ref ( hHybridMesh myMesh,
const int  refType = 8 
)

Here is the caller graph for this function:

static ID hObj::maxId (  )  [inline, static]

Here is the caller graph for this function:

static ID hObj::maxPos (  )  [inline, static]

Here is the call graph for this function:

static ID hObj::maxType (  )  [inline, static]

Here is the call graph for this function:

int hObj::nCurrentSons (  )  const [inline]
const ID* hObj::neighs (  )  const [inline]
ID* hObj::neighs (  )  [inline]

Here is the caller graph for this function:

const ID& hObj::neighs ( const uTind  i  )  const [inline]
ID& hObj::neighs ( const uTind  i  )  [inline]

Here is the caller graph for this function:

const hObj* hObj::next (  )  const [inline]
hObj* hObj::next (  )  [inline]

Here is the caller graph for this function:

hObj::operator const EntityAttributes (  )  const
bool hObj::operator< ( const hObj other  )  const [inline]

Here is the call graph for this function:

bool hObj::operator== ( const hObj other  )  const [inline]
static uTind hObj::posFromId ( const ID  id  )  [inline, static]

Here is the caller graph for this function:

void hObj::print (  )  const

Reimplemented in hParent< I, nTVerts, nTComponents, TComponents, nTFlags, nTSons, nTCoords, nTNeighs >.

Here is the call graph for this function:

void hObj::setAtBoundary ( const bool  atBoundary  )  [inline]
const ID* hObj::sons (  )  const [inline]
ID* hObj::sons (  )  [inline]

Here is the caller graph for this function:

const ID& hObj::sons ( const uTind  i  )  const [inline]
ID& hObj::sons ( const uTind  i  )  [inline]

Here is the caller graph for this function:

void hObj::swapVerts ( const int  v1,
const int  v2 
)

Here is the caller graph for this function:

bool hObj::test ( const hHybridMesh myMesh  )  const

Here is the call graph for this function:

Here is the caller graph for this function:

static uTind hObj::typeFromId ( const ID  id  )  [inline, static]

Here is the caller graph for this function:

void hObj::updateHash ( hHybridMesh myMesh  )  const [protected]

Here is the call graph for this function:

void hObj::updatePointers (  )  [inline]

Here is the caller graph for this function:

const ID* hObj::verts (  )  const [inline]

Here is the caller graph for this function:

const ID& hObj::verts ( const uTind  i  )  const [inline]

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const hObj obj 
) [friend]

Member Data Documentation

union { ... }
const int8_t hObj::delMark = -4 [static]
const int8_t hObj::derefMark = -3 [static]
const int8_t hObj::fullRefMark = -2 [static]
int8_t hObj::level_
ID* hObj::nodes_ [protected]
const int8_t hObj::nothingMark = 0 [static]
int8_t hObj::nRefs
const int hObj::nTypes = 8 [static]
const int8_t hObj::partialRefMark = -1 [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1