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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

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(), printSize(), and PUP::t.

Here is the call graph for this function:

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

Referenced by main(), and print().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

void print ( const CkVector3d p  ) 

Print a debugging point.

Definition at line 130 of file tetmesh.C.

References CkVector3dT< real >::x, CkVector3dT< real >::y, and CkVector3dT< real >::z.


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