|
FEBio
1.5.0
|
Defines a finite element mesh. More...
#include <FEMesh.h>
Public Member Functions | |
| FEMesh () | |
| constructor | |
| FEMesh (FEMesh &m) | |
| copy constructor | |
| virtual | ~FEMesh () |
| destructor | |
| FEMesh & | operator= (FEMesh &m) |
| assignment operator | |
| void | CreateNodes (int nodes) |
| allocate storage for mesh data | |
| int | Nodes () |
| return number of nodes | |
| int | Elements () |
| return total nr of elements | |
| int | SolidElements () |
| return the total nr of solid elements | |
| int | ShellElements () |
| return the total nr of shell elements | |
| int | TrussElements () |
| return the total nr of truss elements | |
| int | DiscreteElements () |
| return the total nr of discrete elements | |
| FENode & | Node (int i) |
| return reference to a node | |
| void | UpdateBox () |
| update bounding box | |
| FE_BOUNDING_BOX & | GetBoundingBox () |
| retrieve the bounding box | |
| int | RemoveIsolatedVertices () |
| remove isolated vertices | |
| void | Reset () |
| Reset the mesh data. | |
| double | ElementVolume (FEElement &el) |
| Calculates an elements volume. | |
| void | AddNodeSet (FENodeSet *pns) |
| adds a node set to the mesh | |
| FENodeSet * | FindNodeSet (int nid) |
| Find a nodeset by ID. | |
| FENodeSet * | FindNodeSet (const char *szname) |
| Find a nodeset by name. | |
| int | GetFace (FEElement &el, int n, int nf[4]) |
| Get the face nodes from a given element. | |
| int | Faces (FEElement &el) |
| return the nr of faces an element has | |
| FEElement * | FindElementFromID (int nid) |
| Finds an element from a given ID. | |
| FESolidElement * | FindSolidElement (vec3d y, double r[3]) |
| Finds the solid element in which y lies. | |
| FENodeElemList & | NodeElementList () |
| int | Domains () |
| FEDomain & | Domain (int n) |
| void | AddDomain (FEDomain *pd) |
| int | Surfaces () |
| FESurface & | Surface (int n) |
| void | AddSurface (FESurface *ps) |
Protected Member Functions | |
| void | ClearDomains () |
Protected Attributes | |
| vector< FENode > | m_Node |
| FE nodes array. | |
| vector< FEDomain * > | m_Domain |
| list of domains | |
| vector< FENodeSet * > | m_NodeSet |
| node sets | |
| vector< FESurface * > | m_Surf |
| surfaces | |
| FE_BOUNDING_BOX | m_box |
| bounding box | |
| FENodeElemList | m_NEL |
Defines a finite element mesh.
All the geometry data is stored in this class.
| double FEMesh::ElementVolume | ( | FEElement & | el | ) |
Calculates an elements volume.
This function calculates the volume of an element using the element's integration points. It also assumes the element is unpacked.
| FEElement * FEMesh::FindElementFromID | ( | int | nid | ) |
Finds an element from a given ID.
Find an element from a given ID. return 0 if the element cannot be found.
| int FEMesh::GetFace | ( | FEElement & | el, |
| int | n, | ||
| int | nf[4] | ||
| ) |
Get the face nodes from a given element.
This function returns the face connectivity from a certain element.
| void FEMesh::Reset | ( | ) |
Reset the mesh data.
Reset the mesh data. Return nodes to their intial position, reset their attributes and zero all element stresses.
1.7.5.1