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

Here is the call graph for this function:

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

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:

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

Here is the call graph for this function:

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

Here is the call 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:


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