All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions
io::VtkWriter Class Reference
Inheritance diagram for io::VtkWriter:

List of all members.

Public Member Functions

 VtkWriter (const std::string &i_fileName, const Float2D &i_b, const BoundarySize &i_boundarySize, int i_nX, int i_nY, float i_dX, float i_dY, int i_offsetX=0, int i_offsetY=0)
void writeTimeStep (const Float2D &i_h, const Float2D &i_hu, const Float2D &i_hv, float i_time)

Constructor & Destructor Documentation

io::VtkWriter::VtkWriter ( const std::string &  i_baseName,
const Float2D i_b,
const BoundarySize i_boundarySize,
int  i_nX,
int  i_nY,
float  i_dX,
float  i_dY,
int  i_offsetX = 0,
int  i_offsetY = 0 

Creates a vtk file for each time step. Any existing file will be replaced.

i_baseNamebase name of the netCDF-file to which the data will be written to.
i_nXnumber of cells in the horizontal direction.
i_nYnumber of cells in the vertical direction.
i_dXcell size in x-direction.
i_dYcell size in y-direction.
i_offsetXx-offset of the block
i_offsetYy-offset of the block
This version can only handle a boundary layer of size 1

Member Function Documentation

void io::VtkWriter::writeTimeStep ( const Float2D i_h,
const Float2D i_hu,
const Float2D i_hv,
float  i_time 
) [virtual]

Writes one time step

i_hwater heights at a given time step.
i_humomentums in x-direction at a given time step.
i_hvmomentums in y-direction at a given time step.
i_timesimulation time of the time step.

Implements io::Writer.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends