MeshKit
1.0
|
#include <Mesh.hpp>
Public Types | |
typedef size_t | idtype |
Public Member Functions | |
MeshEntity () | |
~MeshEntity () | |
void | setVisitMark (bool r) |
bool | isVisited () const |
int | getStatus () const |
bool | isRemoved () const |
bool | isActive () const |
bool | isBoundary () const |
void | setBoundaryMark (int b) |
int | getBoundaryMark () const |
bool | isConstrained () const |
void | setConstrainedMark (int b) |
void | setID (idtype id) |
const idtype & | getID () const |
template<class T > | |
int | setAttribute (const string &s, const T &val) |
template<class T > | |
int | getAttribute (const string &s, T &val) const |
int | hasAttribute (const string &s) const |
void | removeAttribute (const string &s) const |
void | clearRelations (int e) |
void | addRelation (Vertex *vertex) |
void | addRelation (Edge *edge) |
void | addRelation (Face *face) |
int | getNumRelations (int e) const |
bool | hasRelation (const Vertex *vertex) const |
bool | hasRelation (const Edge *edge) const |
bool | hasRelation (const Face *face) const |
void | removeRelation (const Vertex *vertex) |
void | removeRelation (const Face *face) |
int | getRelations (NodeSequence &seq, bool cyclic_ordered=0) const |
int | getRelations (EdgeSequence &seq, bool cyclic_ordered=0) const |
int | getRelations (FaceSequence &seq, bool cyclic_ordered=0) const |
void | setStatus (int a) |
Static Public Attributes | |
static const int | ACTIVE = 0 |
static const int | REMOVE = 1 |
static const int | INACTIVE = 2 |
Protected Attributes | |
idtype | gid |
int | boundarymark |
bool | constrained |
volatile bool | visitMark |
volatile short int | statusMark |
RelationRep * | relationRep |
AttribRep * | attribRep |
MeshEntity | ( | ) | [inline] |
~MeshEntity | ( | ) | [inline] |
void addRelation | ( | Vertex * | vertex | ) | [inline] |
void addRelation | ( | Edge * | edge | ) | [inline] |
void addRelation | ( | Face * | face | ) | [inline] |
void clearRelations | ( | int | e | ) | [inline] |
int getAttribute | ( | const string & | s, |
T & | val | ||
) | const [inline] |
int getBoundaryMark | ( | ) | const [inline] |
int getNumRelations | ( | int | e | ) | const [inline] |
int getRelations | ( | NodeSequence & | seq, |
bool | cyclic_ordered = 0 |
||
) | const [inline] |
int getRelations | ( | EdgeSequence & | seq, |
bool | cyclic_ordered = 0 |
||
) | const [inline] |
int getRelations | ( | FaceSequence & | seq, |
bool | cyclic_ordered = 0 |
||
) | const [inline] |
int hasAttribute | ( | const string & | s | ) | const [inline] |
bool hasRelation | ( | const Vertex * | vertex | ) | const [inline] |
bool hasRelation | ( | const Edge * | edge | ) | const [inline] |
bool hasRelation | ( | const Face * | face | ) | const [inline] |
bool isBoundary | ( | ) | const [inline] |
bool isConstrained | ( | ) | const [inline] |
void removeAttribute | ( | const string & | s | ) | const [inline] |
void removeRelation | ( | const Vertex * | vertex | ) | [inline] |
void removeRelation | ( | const Face * | face | ) | [inline] |
int setAttribute | ( | const string & | s, |
const T & | val | ||
) | [inline] |
void setBoundaryMark | ( | int | b | ) | [inline] |
void setConstrainedMark | ( | int | b | ) | [inline] |
void setVisitMark | ( | bool | r | ) | [inline] |
int boundarymark [protected] |
bool constrained [protected] |
RelationRep* relationRep [protected] |
volatile short int statusMark [protected] |