MeshKit  1.0
MeshEntity Class Reference

#include <Mesh.hpp>

Inheritance diagram for MeshEntity:

List of all members.

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 idtypegetID () 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
RelationReprelationRep
AttribRepattribRep

Detailed Description

Definition at line 264 of file Mesh.hpp.


Member Typedef Documentation

typedef size_t idtype

Definition at line 267 of file Mesh.hpp.


Constructor & Destructor Documentation

MeshEntity ( ) [inline]

Definition at line 272 of file Mesh.hpp.

~MeshEntity ( ) [inline]

Definition at line 281 of file Mesh.hpp.


Member Function Documentation

void addRelation ( Vertex vertex) [inline]

Definition at line 363 of file Mesh.hpp.

void addRelation ( Edge edge) [inline]

Definition at line 368 of file Mesh.hpp.

void addRelation ( Face face) [inline]

Definition at line 373 of file Mesh.hpp.

void clearRelations ( int  e) [inline]

Definition at line 359 of file Mesh.hpp.

int getAttribute ( const string &  s,
T &  val 
) const [inline]

Definition at line 343 of file Mesh.hpp.

int getBoundaryMark ( ) const [inline]

Definition at line 315 of file Mesh.hpp.

const idtype& getID ( ) const [inline]

Definition at line 332 of file Mesh.hpp.

int getNumRelations ( int  e) const [inline]

Definition at line 378 of file Mesh.hpp.

int getRelations ( NodeSequence seq,
bool  cyclic_ordered = 0 
) const [inline]

Definition at line 409 of file Mesh.hpp.

int getRelations ( EdgeSequence seq,
bool  cyclic_ordered = 0 
) const [inline]

Definition at line 416 of file Mesh.hpp.

int getRelations ( FaceSequence seq,
bool  cyclic_ordered = 0 
) const [inline]

Definition at line 423 of file Mesh.hpp.

int getStatus ( ) const [inline]

Definition at line 293 of file Mesh.hpp.

int hasAttribute ( const string &  s) const [inline]

Definition at line 349 of file Mesh.hpp.

bool hasRelation ( const Vertex vertex) const [inline]

Definition at line 384 of file Mesh.hpp.

bool hasRelation ( const Edge edge) const [inline]

Definition at line 390 of file Mesh.hpp.

bool hasRelation ( const Face face) const [inline]

Definition at line 396 of file Mesh.hpp.

bool isActive ( ) const [inline]

Definition at line 302 of file Mesh.hpp.

bool isBoundary ( ) const [inline]

Definition at line 307 of file Mesh.hpp.

bool isConstrained ( ) const [inline]

Definition at line 319 of file Mesh.hpp.

bool isRemoved ( ) const [inline]

Definition at line 297 of file Mesh.hpp.

bool isVisited ( ) const [inline]

Definition at line 289 of file Mesh.hpp.

void removeAttribute ( const string &  s) const [inline]

Definition at line 355 of file Mesh.hpp.

void removeRelation ( const Vertex vertex) [inline]

Definition at line 402 of file Mesh.hpp.

void removeRelation ( const Face face) [inline]

Definition at line 405 of file Mesh.hpp.

int setAttribute ( const string &  s,
const T &  val 
) [inline]

Definition at line 337 of file Mesh.hpp.

void setBoundaryMark ( int  b) [inline]

Definition at line 311 of file Mesh.hpp.

void setConstrainedMark ( int  b) [inline]

Definition at line 324 of file Mesh.hpp.

void setID ( idtype  id) [inline]

Definition at line 328 of file Mesh.hpp.

void setStatus ( int  a) [inline]

Definition at line 430 of file Mesh.hpp.

void setVisitMark ( bool  r) [inline]

Definition at line 285 of file Mesh.hpp.


Member Data Documentation

const int ACTIVE = 0 [static]

Definition at line 268 of file Mesh.hpp.

AttribRep* attribRep [protected]

Definition at line 441 of file Mesh.hpp.

int boundarymark [protected]

Definition at line 436 of file Mesh.hpp.

bool constrained [protected]

Definition at line 437 of file Mesh.hpp.

idtype gid [protected]

Definition at line 435 of file Mesh.hpp.

const int INACTIVE = 2 [static]

Definition at line 270 of file Mesh.hpp.

RelationRep* relationRep [protected]

Definition at line 440 of file Mesh.hpp.

const int REMOVE = 1 [static]

Definition at line 269 of file Mesh.hpp.

volatile short int statusMark [protected]

Definition at line 439 of file Mesh.hpp.

volatile bool visitMark [protected]

Definition at line 438 of file Mesh.hpp.


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