PPL Logo

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

Go to the source code of this file.

Functions

double tetVolume (const CkVector3d &A, const CkVector3d &B, const CkVector3d &C, const CkVector3d &D)
 Return the volume of the tetrahedron with these vertices.
double averageEdgeLength (const TetMesh &m)
 Return the average edge length on this mesh.
void print (const TetMesh &tet)
 Print a debugging representation to stdout.
void printSize (const TetMesh &tet)
 Print a debugging representation of the mesh 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.


Function Documentation

double tetVolume ( const CkVector3d A,
const CkVector3d B,
const CkVector3d C,
const CkVector3d D 
)

Return the volume of the tetrahedron with these vertices.

Definition at line 53 of file tetmesh.C.

References dot().

Referenced by TetMesh::getTetVolume(), and randTet().

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

void print ( const TetMesh tet  ) 

Print a debugging representation to stdout.

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 the mesh size, to stdout.

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.


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