Go to the source code of this file.
Functions | |
bool | readInts (FILE *f, int *dest, int n, int base) |
Read a TetMesh ".noboite" mesh description file. | |
bool | readPts (FILE *f, CkVector3d *dest, int n) |
Read n 3D coordinates into dest. | |
void | bad (const char *why) |
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. |
Read a TetMesh ".noboite" mesh description file.
Orion Sky Lawlor, olawlor@acm.org, 3/11/2003 Read n integers into dest. Subtract off base.
Definition at line 12 of file tetmesh_noboite.C.
Referenced by readNoboite().
bool readPts | ( | FILE * | f, | |
CkVector3d * | dest, | |||
int | n | |||
) |
Read n 3D coordinates into dest.
Definition at line 22 of file tetmesh_noboite.C.
References x.
Referenced by readNoboite().
void bad | ( | const char * | why | ) |
Definition at line 31 of file tetmesh_noboite.C.
References abort().
Referenced by splitter::equal(), splitter::nonnegative(), and splitter::range().
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.