PPL Logo

libs/ck-libs/datatransfer/tetmesh.h File Reference

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.


Function Documentation

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(), printf(), and printSize().

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(), p, and printf().

Referenced by main(), and print().

void printTet ( const TetMesh m,
int  t 
)

Print a debugging representation of this tet to stdout.

Definition at line 122 of file tetmesh.C.

References c, TetMesh::getPoint(), TetMesh::getTet(), print(), and printf().

void print ( const CkVector3d p  ) 

Print a debugging point.

Definition at line 130 of file tetmesh.C.

References printf(), 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 
)

void readFEM ( int  m,
TetMesh t 
)

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

void readGhostFEM ( int  m,
TetMesh t 
)

void writeFEM ( int  m,
TetMesh t 
)

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(), and TetMesh::getTets().


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