MeshBinaryOutput Class Reference

A class for saving a BezierMesh and BoundaryMesh as a binary file. More...

#include </usr1/tp517/Tumble/trunk/src/tumble/meshio.h>

Collaboration diagram for MeshBinaryOutput:

[legend]
List of all members.

Public Member Functions

 MeshBinaryOutput (Simulation *_sim)
 MeshBinaryOutput (BezierMesh *_bezier_mesh, BoundaryMesh *_bdry_mesh)
bool write (const char *filename)

Static Public Member Functions

static bool write (const char *filename, BezierMesh *bez, BoundaryMesh *bdry)
static bool write (const char *filename, Simulation *sim)

Private Attributes

Simulationsim
BezierMeshbezier_mesh
BoundaryMeshbdry_mesh

Detailed Description

A class for saving a BezierMesh and BoundaryMesh as a binary file.

The binary file format specifies a single binary file with extention ".geo"

See File Formats.

Definition at line 179 of file meshio.h.


Constructor & Destructor Documentation

MeshBinaryOutput::MeshBinaryOutput ( Simulation _sim  ) 

Definition at line 867 of file meshio.C.

References bdry_mesh, bezier_mesh, Simulation::get_bezier_mesh(), Simulation::get_boundary_mesh(), and sim.

Here is the call graph for this function:

MeshBinaryOutput::MeshBinaryOutput ( BezierMesh _bezier_mesh,
BoundaryMesh _bdry_mesh 
)

Definition at line 874 of file meshio.C.

References bdry_mesh, bezier_mesh, and sim.


Member Function Documentation

bool MeshBinaryOutput::write ( const char *  filename  ) 

Definition at line 881 of file meshio.C.

References QBSpline::b, bdry_mesh, bezier_mesh, QBSpline::closed, current_format_version, LinearData::fields, QBSpline::get_deboor(), 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(), QBSpline::get_num_deboor(), CellComplex< Vertex, Edge, Face, Tuple >::get_num_edges(), CellComplex< Vertex, Edge, Face, Tuple >::get_num_faces(), CellComplex< Vertex, Edge, Face, Tuple >::get_num_vertices(), CellComplex< Vertex, Edge, Face, Tuple >::get_vertices_begin(), CellComplex< Vertex, Edge, Face, Tuple >::get_vertices_end(), CellComplex< Vertex, Edge, Face, Tuple >::is_inverse_handed(), QBSpline::k, LinearData::length, official_header, official_header_len, and QBSpline::restlength.

Referenced by BezierMesh::check_consistency(), ConformalMesher::create_subsplines(), BezierMesh::debug_flip(), BezierMesh::print_check_inverted(), Simulation::to_binary_file(), and write().

Here is the call graph for this function:

bool MeshBinaryOutput::write ( const char *  filename,
BezierMesh bez,
BoundaryMesh bdry 
) [static]

Definition at line 1284 of file meshio.C.

References write().

Here is the call graph for this function:

bool MeshBinaryOutput::write ( const char *  filename,
Simulation sim 
) [static]

Definition at line 1291 of file meshio.C.

References sim, and write().

Here is the call graph for this function:


Member Data Documentation

Simulation* MeshBinaryOutput::sim [private]

Definition at line 192 of file meshio.h.

Referenced by MeshBinaryOutput(), and write().

BezierMesh* MeshBinaryOutput::bezier_mesh [private]

Definition at line 193 of file meshio.h.

Referenced by MeshBinaryOutput(), and write().

BoundaryMesh* MeshBinaryOutput::bdry_mesh [private]

Definition at line 194 of file meshio.h.

Referenced by MeshBinaryOutput(), and write().


The documentation for this class was generated from the following files:
Generated on Mon May 24 09:53:34 2010 for TUMBLE by  doxygen 1.5.2