PPL Logo

libs/ck-libs/datatransfer/tetmesh_noboite.C File Reference

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.


Function Documentation

bool readInts ( FILE *  f,
int dest,
int  n,
int  base 
)

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.

Referenced by readNoboite().

void bad ( const char *  why  ) 

Definition at line 31 of file tetmesh_noboite.C.

References abort(), and printf().

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 
)


Generated on Sat May 26 08:08:09 2012 for Charm++ by  doxygen 1.5.5