#include </usr1/tp517/Tumble/trunk/src/tumble/meshio.h>
Collaboration diagram for MeshOutput:
Public Member Functions | |
| MeshOutput (BezierMesh *_bezier_mesh, BoundaryMesh *_bdry_mesh) | |
| bool | write (const char *filename) |
Private Member Functions | |
| int | node_to_file (ControlPoint cp, DataPoint dp) |
| int | edge_to_file (BezierEdge *edge) |
| int | ele_to_file (BezierTriangle *tri, BezierMesh *bezier_mesh) |
| int | bdry_vert_to_file (BoundaryVertex *vert) |
| int | bdry_edge_to_file (BoundaryEdge *edge) |
| int | bdry_face_to_file (BoundaryFace *face) |
Private Attributes | |
| FILE * | node_file |
| FILE * | ele_file |
| FILE * | edge_file |
| FILE * | bdry_file |
| hashers::hash_map< ControlPoint, unsigned, ControlPointHasher > | node_hash |
| hashers::hash_map< BezierEdge *, unsigned > | bez_edge_hash |
| hashers::hash_map< BoundaryVertex *, unsigned > | bdry_vert_hash |
| hashers::hash_map< BoundaryEdge *, unsigned > | bdry_edge_hash |
| hashers::hash_map< BoundaryFace *, unsigned > | bdry_face_hash |
| BezierMesh * | bezier_mesh |
| BoundaryMesh * | bdry_mesh |
The text file format specifies a quartet of files with respective extentions of ".bdry",".node",".edge", and ".ele"
See File Formats.
Definition at line 120 of file meshio.h.
| MeshOutput::MeshOutput | ( | BezierMesh * | _bezier_mesh, | |
| BoundaryMesh * | _bdry_mesh | |||
| ) | [inline] |
| int MeshOutput::node_to_file | ( | ControlPoint | cp, | |
| DataPoint | dp | |||
| ) | [private] |
| int MeshOutput::edge_to_file | ( | BezierEdge * | edge | ) | [private] |
Definition at line 501 of file meshio.C.
References bdry_edge_hash, bez_edge_hash, edge_file, BezierEdge::is_boundary(), node_hash, and TRUE.
Referenced by write().
Here is the call graph for this function:
| int MeshOutput::ele_to_file | ( | BezierTriangle * | tri, | |
| BezierMesh * | bezier_mesh | |||
| ) | [private] |
Definition at line 520 of file meshio.C.
References bdry_face_hash, bez_edge_hash, ele_file, BezierTriangle::get_bdry_face_or_null(), BezierTriangle::get_edge(), BezierTriangle::is_inverted(), and TRUE.
Referenced by write().
Here is the call graph for this function:
| int MeshOutput::bdry_vert_to_file | ( | BoundaryVertex * | vert | ) | [private] |
| int MeshOutput::bdry_edge_to_file | ( | BoundaryEdge * | edge | ) | [private] |
Definition at line 537 of file meshio.C.
References bdry_edge_hash, bdry_file, and bdry_vert_hash.
Referenced by write().
| int MeshOutput::bdry_face_to_file | ( | BoundaryFace * | face | ) | [private] |
Definition at line 559 of file meshio.C.
References bdry_edge_hash, bdry_face_hash, bdry_file, and TRUE.
Referenced by write().
| bool MeshOutput::write | ( | const char * | filename | ) |
Definition at line 379 of file meshio.C.
References bdry_edge_hash, bdry_edge_to_file(), bdry_face_hash, bdry_face_to_file(), bdry_file, bdry_mesh, bdry_vert_hash, bdry_vert_to_file(), bez_edge_hash, bezier_mesh, edge_file, edge_to_file(), ele_file, ele_to_file(), CellComplex< Vertex, Edge, Face, Tuple >::get_edges_begin(), CellComplex< Vertex, Edge, Face, Tuple >::get_edges_end(), CellComplex< Vertex, Edge, Face, Tuple >::get_faces_begin(), CellComplex< Vertex, Edge, Face, Tuple >::get_faces_end(), CellComplex< Vertex, Edge, Face, Tuple >::get_vertices_begin(), CellComplex< Vertex, Edge, Face, Tuple >::get_vertices_end(), MAX_FILENAME, node_file, node_hash, and node_to_file().
Referenced by Simulation::to_text_file().
Here is the call graph for this function:
FILE* MeshOutput::node_file [private] |
FILE* MeshOutput::ele_file [private] |
FILE* MeshOutput::edge_file [private] |
FILE* MeshOutput::bdry_file [private] |
Definition at line 125 of file meshio.h.
Referenced by bdry_edge_to_file(), bdry_face_to_file(), bdry_vert_to_file(), and write().
hashers::hash_map<ControlPoint, unsigned, ControlPointHasher> MeshOutput::node_hash [private] |
Definition at line 128 of file meshio.h.
Referenced by bdry_vert_to_file(), edge_to_file(), node_to_file(), and write().
hashers::hash_map<BezierEdge*, unsigned> MeshOutput::bez_edge_hash [private] |
hashers::hash_map<BoundaryVertex*, unsigned> MeshOutput::bdry_vert_hash [private] |
Definition at line 130 of file meshio.h.
Referenced by bdry_edge_to_file(), bdry_vert_to_file(), and write().
hashers::hash_map<BoundaryEdge*, unsigned> MeshOutput::bdry_edge_hash [private] |
Definition at line 131 of file meshio.h.
Referenced by bdry_edge_to_file(), bdry_face_to_file(), edge_to_file(), and write().
hashers::hash_map<BoundaryFace*, unsigned> MeshOutput::bdry_face_hash [private] |
Definition at line 132 of file meshio.h.
Referenced by bdry_face_to_file(), ele_to_file(), and write().
BezierMesh* MeshOutput::bezier_mesh [private] |
BoundaryMesh* MeshOutput::bdry_mesh [private] |
1.5.2