#include </home/guntram/tmp/GrAL/gral/gmv-io/include/Gral/IO/gmv-format-output3d.h>


Public Types | |
| typedef Complex2D | archetype_type |
|
typedef StaticData::archetype_table::const_iterator | archetype_iterator |
Public Member Functions | |
| OstreamGMV3DFmt (std::ostream &ot) | |
| OstreamGMV3DFmt (std::string const &nm) | |
| OstreamGMV3DFmt (self const &rhs) | |
| self & | operator= (self const &rhs) |
| std::string const & | name (int a) const |
| archetype_iterator | BeginArchetype () const |
| archetype_iterator | EndArchetype () const |
Protected Member Functions | |
| virtual void | begin_variable () |
| virtual void | end_variable () |
Related Functions | |
| (Note that these are not member functions.) | |
| template<class GRID , class GEOM > | |
| void | ConstructGrid (OstreamGMV3DFmt &Out, GRID const &G, GEOM const &GEO) |
| ConstructGrid overload for OstreamGMV3DFmt. | |
| 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. | |
Usage:
OstreamGMV3DFmt Out("grid.gmv"); ConstructGrid(Out,MyGrid, MyGeom);
grid_function<MyVertex, double> gf1(MyGrid);
grid_function<MyCell, int> gf2(MyGrid);
// ...
OstreamGMV3DFmt Out("grid.gmv");
ConstructGrid_GF(Out,MyGrid,MyGeom,
(Out.BeginGF(), Out.pair("gf1",gf1), Out.pair("gf2",gf2)));
Support output of vector variables. Currently, all variables are assumed scalar. As GMV supports only one vector field (velocity), other fields (forces) will have to be written as set of scalar fields (force-x etc). Perhaps the branch could be made depending on point_traits<>?
Definition at line 74 of file gmv-format-output3d.h.
| void ConstructGrid | ( | OstreamGMV3DFmt & | Out, | |
| GRID const & | G, | |||
| GEOM const & | GEO | |||
| ) | [related] |
ConstructGrid overload for OstreamGMV3DFmt.
test-gmv-output.C for an example
Definition at line 21 of file gmv-format-output.tt.C.
References ConstructGrid().
| 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.
test-gmv-output.C for an example
1.5.8