Go to the source code of this file.
Namespaces | |
namespace | cg3d |
Data Structures | |
class | TetMesh |
A 3d tetrahedral mesh. More... | |
class | TetMesh::conn_t |
Functions | |
void | print (const TetMesh &t) |
Print a debugging representation of this mesh, to stdout. | |
void | printSize (const TetMesh &t) |
Print a debugging representation of this mesh's size, to stdout. | |
void | printTet (const TetMesh &m, int t) |
Print a debugging representation of this tet to stdout. | |
void | print (const CkVector3d &p) |
Print a debugging point. | |
void | readNoboite (FILE *f, TetMesh &t) |
Read a TetMesh (ghs3d) ".noboite" mesh description file. | |
void | writeNoboite (FILE *f, TetMesh &t) |
Write a TetMesh (ghs3d) ".noboite" mesh description. | |
void | readFEM (int m, TetMesh &t) |
Read this mesh from the FEM framework's mesh m. | |
void | readGhostFEM (int m, TetMesh &t) |
void | writeFEM (int m, TetMesh &t) |
Write this mesh to the FEM framework's mesh m. | |
double | averageEdgeLength (const TetMesh &m) |
Return the average edge length on this mesh. |
void print | ( | const TetMesh & | tet | ) |
Print a debugging representation of this mesh, to stdout.
Definition at line 87 of file tetmesh.C.
References c, TetMesh::getPoint(), TetMesh::getPoints(), TetMesh::getTet(), TetMesh::getTets(), p, print(), printSize(), and PUP::t.
void printSize | ( | const TetMesh & | tet | ) |
Print a debugging representation of this mesh's size, to stdout.
Definition at line 110 of file tetmesh.C.
References TetMesh::getPoint(), TetMesh::getPoints(), TetMesh::getTets(), and p.
Referenced by main(), and print().
Print a debugging representation of this tet to stdout.
Definition at line 122 of file tetmesh.C.
References c, TetMesh::getPoint(), TetMesh::getTet(), and print().
void print | ( | const CkVector3d & | p | ) |
Print a debugging point.
Definition at line 130 of file tetmesh.C.
References CkVector3dT< real >::x, CkVector3dT< real >::y, and CkVector3dT< real >::z.
void readNoboite | ( | FILE * | f, | |
TetMesh & | t | |||
) |
Read a TetMesh (ghs3d) ".noboite" mesh description file.
Aborts on errors.
Definition at line 37 of file tetmesh_noboite.C.
References TetMesh::allocate(), TetMesh::getPointArray(), TetMesh::getPoints(), TetMesh::getTetConn(), TetMesh::getTets(), readInts(), and readPts().
Referenced by main().
void writeNoboite | ( | FILE * | f, | |
TetMesh & | t | |||
) |
Write a TetMesh (ghs3d) ".noboite" mesh description.
Definition at line 59 of file tetmesh_noboite.C.
References TetMesh::getPoint(), TetMesh::getPoints(), TetMesh::getTet(), TetMesh::getTets(), n, TetMesh::nodePer, CkVector3dT< real >::x, CkVector3dT< real >::y, and CkVector3dT< real >::z.
Read this mesh from the FEM framework's mesh m.
Read this mesh from the FEM framework's mesh m.
Orion Sky Lawlor, olawlor@acm.org, 3/24/2003
Definition at line 11 of file tetmesh_fem.C.
References TetMesh::allocate(), FEM_Mesh_data(), FEM_Mesh_get_length(), TetMesh::getPointArray(), and TetMesh::getTetConn().
Definition at line 20 of file tetmesh_fem.C.
References TetMesh::allocate(), assert, FEM_Mesh_data(), FEM_Mesh_get_length(), TetMesh::getPoint(), TetMesh::getPointArray(), TetMesh::getTet(), TetMesh::getTetConn(), TetMesh::nonGhostPt, and TetMesh::nonGhostTet.
Write this mesh to the FEM framework's mesh m.
Definition at line 56 of file tetmesh_fem.C.
References FEM_Mesh_data(), TetMesh::getPointArray(), TetMesh::getPoints(), TetMesh::getTetConn(), and TetMesh::getTets().
double averageEdgeLength | ( | const TetMesh & | m | ) |
Return the average edge length on this mesh.
Definition at line 68 of file tetmesh.C.
References conn, TetMesh::getPoint(), TetMesh::getTet(), TetMesh::getTets(), and PUP::t.