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

List of all members.

Public Member Functions

 Writer (const std::string &i_fileName, const Float2D &i_b, const BoundarySize &i_boundarySize, int i_nX, int i_nY)
virtual void writeTimeStep (const Float2D &i_h, const Float2D &i_hu, const Float2D &i_hv, float i_time)=0

Protected Attributes

const std::string fileName
 file name of the data file
const Float2Db
 (Reference) to bathymetry data
const BoundarySize boundarySize
 Boundary layer size.
const unsigned int nX
 dimensions of the grid in x- and y-direction.
const unsigned int nY
size_t timeStep
 current time step

Constructor & Destructor Documentation

io::Writer::Writer ( const std::string &  i_fileName,
const Float2D i_b,
const BoundarySize i_boundarySize,
int  i_nX,
int  i_nY 
) [inline]
i_boundarySizesize of the boundaries.

Member Function Documentation

virtual void io::Writer::writeTimeStep ( const Float2D i_h,
const Float2D i_hu,
const Float2D i_hv,
float  i_time 
) [pure 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.

Implemented in io::NetCdfWriter, and io::VtkWriter.

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