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 Float2D & | b |
| (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
- Parameters:
-
i_boundarySize | size of the boundaries. |
Member Function Documentation
Writes one time step
- Parameters:
-
i_h | water heights at a given time step. |
i_hu | momentums in x-direction at a given time step. |
i_hv | momentums in y-direction at a given time step. |
i_time | simulation time of the time step. |
Implemented in io::NetCdfWriter, and io::VtkWriter.
The documentation for this class was generated from the following file:
- /import/home/rettenbs/src/SWE/src/writer/Writer.hh