54 void setID(
int theID);
120 Node* new_node ) = 0;
void setFlag(int theFlag)
Sets the flag for the face.
void replaceNode(Node *node, Node *new_node)
This class encapsulate a node over a window manifold.
static Face * create(eType type)
void addElement(Element *theElement)
Element * d_E2
The second element that this face is associated with.
Element * getElement2()
Get the pointer to the second element that this face is associated with.
Type getFaceType() const
Returns the face type of this face (see the Type attribute of the Face class).
int getFlag() const
Gets the flag for the face.
Element * d_E1
Pointer to the first element that this face is associated with.
friend istream & operator>>(istream &stream, Face &face)
Class Mesh is the main class that holds all information to describe the current state of the mesh...
boolean containsNode(Node *node) const
friend ostream & operator<<(ostream &stream, Face &face)
boolean isExterior() const
int getID() const
Returns the serial ID of the face.
int d_ID
Serial ID assigned to this face.
virtual Element * buildCohesive(Element *side_elem, Node *node, Node *new_node)=0
void removeElement(Element *theElement)
Node ** getNodes()
Returns the array of nodes.
static void setMesh(Mesh *emesh)
int d_flag
User-defined integer flag assigned to this face.
void setID(int theID)
Sets the serial ID for the face.
Node ** d_nodes
Array of nodes assigned to this face.
void setElement1(Element *elem1)
Sets the pointer to the first element that this face is associated with.
The Face class is an abstract base class that supplies implemented general methods, as well as a vew virtual interface methods to child classes.
Element * getElement1()
Get the pointer to the first element that this face is associated with.
void setElement2(Element *elem2)
Sets the pointer to the second element that this face is associated with.
virtual int getNumNodes() const =0
Retrieves the number of nodes that make up the face.
Type d_eType
The Type of face (triangular or square for now).