
#include <ParFUM_Types.h>

Public Member Functions | |
| ElemID () | |
| default constructor | |
| ElemID (int _type, int _id) | |
| constructor - initializer | |
| bool | operator== (const ElemID &rhs) const |
| bool | operator< (const ElemID &rhs) const |
| const ElemID & | operator= (const ElemID &rhs) |
| virtual void | pup (PUP::er &p) |
| int | getSignedId () |
| int | getSignedType () |
| int | getUnsignedType () |
| Return the element's type. | |
Static Public Member Functions | |
| static ElemID | createNodeID (int type, int node) |
Data Fields | |
| int | type |
| type is negative for ghost elements | |
| int | id |
| id refers to the index in the entity list | |
Ghost indices are handled correctly here
Definition at line 13 of file ParFUM_Types.h.
| ElemID::ElemID | ( | ) | [inline] |
| virtual void ElemID::pup | ( | PUP::er & | p | ) | [inline, virtual] |
Definition at line 52 of file ParFUM_Types.h.
| int ElemID::getSignedId | ( | ) | [inline] |
Definition at line 56 of file ParFUM_Types.h.
Referenced by meshNodeElemItr_GetCurr(), and topNodeElemItr_GetCurr().

| int ElemID::getSignedType | ( | ) | [inline] |
| int ElemID::getUnsignedType | ( | ) | [inline] |
Return the element's type.
This is necessary because the type member itself is negative for ghosts(for some stupid reason)
Definition at line 66 of file ParFUM_Types.h.
References type.
Referenced by meshNodeElemItr_GetCurr(), and topNodeElemItr_GetCurr().

type is negative for ghost elements
Definition at line 16 of file ParFUM_Types.h.
Referenced by ElemID(), getSignedId(), getSignedType(), getUnsignedType(), meshElemItr_GetCurr(), meshFacetItr_Begin(), meshFacetItr_GetCurr(), meshFacetItr_Next(), meshModel_GetElemAtId(), meshNodeElemItr_GetCurr(), operator<(), operator=(), operator==(), and pup().
id refers to the index in the entity list
Definition at line 18 of file ParFUM_Types.h.
Referenced by getSignedId(), meshElemItr_GetCurr(), meshFacetItr_Begin(), meshFacetItr_GetCurr(), meshFacetItr_Next(), meshModel_GetElemAtId(), meshNodeElemItr_GetCurr(), operator<(), operator=(), operator==(), and pup().
1.5.5