netxsimdg
Loading...
Searching...
No Matches
RectGridIO.hpp
Go to the documentation of this file.
1
8
#ifndef RECTGRIDIO_HPP
9
#define RECTGRIDIO_HPP
10
11
#include "
include/RectangularGrid.hpp
"
12
13
namespace
Nextsim {
14
15
class
RectGridIO
:
public
RectangularGrid::IRectGridIO
{
16
public
:
17
RectGridIO
(
RectangularGrid
& grid)
18
: IRectGridIO(grid)
19
{
20
}
21
virtual
~RectGridIO
() =
default
;
22
23
typedef
RectangularGrid::GridDimensions
GridDimensions
;
24
25
ModelState
getModelState(
const
std::string& filePath)
override
;
26
27
void
dumpModelState
(
const
ModelState
& state,
const
ModelMetadata
& metadata,
28
const
std::string& filePath,
bool
isRestart)
const override
;
29
30
private
:
31
RectGridIO
() =
default
;
32
};
33
34
}
/* namespace Nextsim */
35
36
#endif
/* RECTGRIDIO_HPP */
RectangularGrid.hpp
Nextsim::ModelMetadata
Definition
ModelMetadata.hpp:24
Nextsim::RectGridIO
Definition
RectGridIO.hpp:15
Nextsim::RectGridIO::dumpModelState
void dumpModelState(const ModelState &state, const ModelMetadata &metadata, const std::string &filePath, bool isRestart) const override
Dumps the given ModelState to the given file path.
Definition
RectGridIO.cpp:81
Nextsim::RectangularGrid::IRectGridIO
Definition
RectangularGrid.hpp:72
Nextsim::RectangularGrid
Definition
RectangularGrid.hpp:20
Nextsim::ModelState
Definition
ModelState.hpp:20
Nextsim::RectangularGrid::GridDimensions
Definition
RectangularGrid.hpp:22
core
src
include
RectGridIO.hpp
Generated by
1.12.0