69 boolean addCohesive(
int material1,
int material2,
int new_material=-1 );
int getNumNodes()
The following get methods return the number of nodes, faces, or elements currently in the model...
This class encapsulate a node over a window manifold.
void removeNode(Node *node)
boolean addCohesive(int material1, int material2, int new_material=-1)
The addCohesive method is the driver for the entire process of adding cohesive elements to the mesh...
void addNode(Node *node)
The following add/remove/get methods are utility methods to add, remove, or return instances of nodes...
Class Mesh is the main class that holds all information to describe the current state of the mesh...
int d_nodeArraySize
The current size of the nodes array (must be as big or bigger than numNodes).
Node ** d_nodes
An ordered array of all nodes in the mesh.
double calcEdgeLength(int elementID)
void addElement(Element *element)
void removeElement(Element *element)
Element ** d_elements
Array of all the Elements in the mesh.
void replaceNode(Node *node, Node *new_node, ElementList *sep_elements, int new_material)
void setMinEdge(double me)
int d_numNodes
The number of Nodes in the nodes array.
Node * getNode(int ID)
The following get methods return a node, face or element.
void removeFace(Face *face)
friend istream & operator>>(istream &stream, Mesh &mesh)
The mesh instream operator is used to drive the reading of the one input file to the code...
friend ostream & operator<<(ostream &stream, Mesh &mesh)
The mesh ostream operator is used to drive the writing of both output fils from the code...
The Face class is an abstract base class that supplies implemented general methods, as well as a vew virtual interface methods to child classes.
void write_boundary(ostream &stream)
Element * getElement(int ID)