Go to Overview over all GrAL packages.
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

OstreamGMV2DFmt Class Reference

Output adapter for the GMV format (2D grids). More...

#include <gmv-format-output2d.h>

Inheritance diagram for OstreamGMV2DFmt:

Inheritance graph
[legend]
Collaboration diagram for OstreamGMV2DFmt:

Collaboration graph
[legend]
List of all members.

Public Methods

 OstreamGMV2DFmt ()
 OstreamGMV2DFmt (std::ostream &ot)
 OstreamGMV2DFmt (std::string const &nm)
 OstreamGMV2DFmt (self const &rhs)
self & operator= (self const &rhs)
 ~OstreamGMV2DFmt ()

Protected Methods

void copy (self const &rhs)
virtual void begin_variable ()
virtual void end_variable ()

Related Functions

(Note that these are not member functions.)

template<class GRID, class GEOM> void ConstructGrid (OstreamGMV2DFmt &Out, GRID const &G, GEOM const &GEO)
 ConstructGrid overload for OstreamGMV2DFmt. More...

template<class GRID, class GEOM, class GF, class MOREGFS> void ConstructGrid_GF (OstreamGMV2DFmt &Out, GRID const &G, GEOM const &GEO, heterogeneous_list::List< GF, MOREGFS > GFS)
 ConstructGrid overload for OstreamGMV2DFmt. More...

template<class GRID, class GEOM, class GF, class MOREGFS> void ConstructGrid_GF (OstreamGMV3DFmt &Out, GRID const &G, GEOM const &GEO, heterogeneous_list::List< GF, MOREGFS > GFS)
 ConstructGrid overload for OstreamGMV2DFmt. More...


Detailed Description

Output adapter for the GMV format (2D grids).

The General Mesh Viewer (GMV) is a versatile tool for viewing 3D meshes and fields defined on them.

Usage: (MyGrid is 2D grid object, model of Cell-VertexInputGridRange)

    OstreamGMV2DFmt Out("grid.gmv");
    ConstructGrid(Out,MyGrid, MyGeom); 

See also test/gmv-output2d/test-gmv-output2d.C

The support for the output of arbitrary grid functions is still experimental.

Definition at line 33 of file gmv-format-output2d.h.


Friends And Related Function Documentation

template<class GRID, class GEOM>
void ConstructGrid OstreamGMV2DFmt &    Out,
GRID const &    G,
GEOM const &    GEO
[related]
 

ConstructGrid overload for OstreamGMV2DFmt.

See also:
Module GMV2Dformat , Module mutatingoperations , ConstructGrid

Definition at line 10 of file gmv-format-output2d.tt.C.

template<class GRID, class GEOM, class GF, class MOREGFS>
void ConstructGrid_GF OstreamGMV2DFmt &    Out,
GRID const &    G,
GEOM const &    GEO,
heterogeneous_list::List< GF, MOREGFS >    GFS
[related]
 

ConstructGrid overload for OstreamGMV2DFmt.

This takes an additional list of arbitrary grid functions to be written to the GMV file.

See also:
Module GMV2Dformat , Module mutatingoperations , ConstructGrid , for an example

Definition at line 20 of file gmv-format-output2d.tt.C.

References OstreamGMVFmt_base::copy_grid_functions, and OstreamGMVFmt_base::Out.

template<class GRID, class GEOM, class GF, class MOREGFS>
void ConstructGrid_GF OstreamGMV3DFmt   Out,
GRID const &    G,
GEOM const &    GEO,
heterogeneous_list::List< GF, MOREGFS >    GFS
[related]
 

ConstructGrid overload for OstreamGMV2DFmt.

This takes an additional list of arbitrary grid functions to be written to the GMV file.

See also:
Module GMV2Dformat , Module mutatingoperations , ConstructGrid , for an example

Definition at line 17 of file gmv-format-output3d.tt.C.

References OstreamGMV3DFmt::BeginArchetype, OstreamGMVFmt_base::copy_grid_functions, OstreamGMV3DFmt::EndArchetype, OstreamGMV3DFmt::name, and OstreamGMVFmt_base::Out.


The documentation for this class was generated from the following files:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:08:57 2002 for GrAL GMV I/O by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000