#include <hObj.h>
Public Member Functions | |
~hObj () | |
bool | operator== (const hObj &other) const |
operator const EntityAttributes () const | |
hObj * | next () |
const hObj * | next () 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 > | |
T * | getMyClassChild (const int number) |
template<class T > | |
const T * | getMyClassChild (const int number) const |
bool | isAtBoundary () const |
void | setAtBoundary (const bool atBoundary) |
bool | operator< (const hObj &other) const |
void | print () const |
void | updatePointers () |
const ID & | verts (const uTind i) const |
const ID * | verts () const |
void | swapVerts (const int v1, const int v2) |
ID & | components (const uTind i) |
const ID & | components (const uTind i) const |
ID * | components () |
const ID * | components () const |
int & | flags (const uTind i) |
const int & | flags (const uTind i) const |
int * | flags () |
const int * | flags () const |
ID & | neighs (const uTind i) |
const ID & | neighs (const uTind i) const |
ID * | neighs () |
const ID * | neighs () const |
ID & | sons (const uTind i) |
const ID & | sons (const uTind i) const |
ID * | sons () |
const ID * | sons () 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 | |
ID * | nodes_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const hObj &obj) |
hObj::hObj | ( | const uTind | posID, | |
const EntityAttributes & | typeSpecyfic | |||
) | [protected] |
hObj::~hObj | ( | ) |
const ID* hObj::components | ( | ) | const [inline] |
ID* hObj::components | ( | ) | [inline] |
void hObj::decRef | ( | hHybridMesh * | myMesh | ) | [inline] |
void hObj::derefine | ( | hHybridMesh * | myMesh | ) |
bool hObj::equals | ( | const hObj & | other, | |
bool | compareBreak = false | |||
) | const |
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] |
double* hObj::geoCenter | ( | const hHybridMesh * | myMesh, | |
double | center[3] | |||
) | const |
const T* hObj::getMyClassChild | ( | const int | number | ) | const [inline] |
T* hObj::getMyClassChild | ( | const int | number | ) | [inline] |
int hObj::hBreak | ( | hHybridMesh * | myMesh, | |
const Tind | sonsCount = 8 | |||
) |
void hObj::incRef | ( | ) | [inline] |
bool hObj::isAtBoundary | ( | ) | const [inline] |
bool hObj::isBroken | ( | ) | const [inline] |
bool hObj::isMarkedBreak | ( | ) | const [inline] |
bool hObj::isMarkedDref | ( | ) | const [inline] |
bool hObj::isNull | ( | ) | const [inline] |
bool hObj::isSliceBroken | ( | ) | const [inline] |
void hObj::mark2Del | ( | hHybridMesh * | myMesh | ) |
void hObj::mark2Dref | ( | hHybridMesh * | myMesh | ) |
void hObj::mark2Ref | ( | hHybridMesh * | myMesh, | |
const int | refType = 8 | |||
) |
static ID hObj::maxId | ( | ) | [inline, static] |
static ID hObj::maxPos | ( | ) | [inline, static] |
static ID hObj::maxType | ( | ) | [inline, static] |
int hObj::nCurrentSons | ( | ) | const [inline] |
const ID* hObj::neighs | ( | ) | const [inline] |
ID* hObj::neighs | ( | ) | [inline] |
const hObj* hObj::next | ( | ) | const [inline] |
hObj* hObj::next | ( | ) | [inline] |
hObj::operator const EntityAttributes | ( | ) | const |
bool hObj::operator< | ( | const hObj & | other | ) | const [inline] |
bool hObj::operator== | ( | const hObj & | other | ) | const [inline] |
void hObj::print | ( | ) | const |
Reimplemented in hParent< I, nTVerts, nTComponents, TComponents, nTFlags, nTSons, nTCoords, nTNeighs >.
void hObj::setAtBoundary | ( | const bool | atBoundary | ) | [inline] |
const ID* hObj::sons | ( | ) | const [inline] |
ID* hObj::sons | ( | ) | [inline] |
void hObj::swapVerts | ( | const int | v1, | |
const int | v2 | |||
) |
bool hObj::test | ( | const hHybridMesh * | myMesh | ) | const |
void hObj::updateHash | ( | hHybridMesh * | myMesh | ) | const [protected] |
void hObj::updatePointers | ( | ) | [inline] |
const ID* hObj::verts | ( | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const hObj & | obj | |||
) | [friend] |
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_ |
int8_t hObj::nMyClassSons_ |
ID* hObj::nodes_ [protected] |
int8_t hObj::nOtherSons_ |
const int8_t hObj::nothingMark = 0 [static] |
int8_t hObj::nRefs |
const int hObj::nTypes = 8 [static] |
const int8_t hObj::partialRefMark = -1 [static] |