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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:


Generated on Mon Sep 21 08:07:05 2020 for Charm++ by  doxygen 1.5.5