netxsimdg
Loading...
Searching...
No Matches
RectGridIO.hpp
Go to the documentation of this file.
1
8#ifndef RECTGRIDIO_HPP
9#define RECTGRIDIO_HPP
10
12
13namespace Nextsim {
14
16public:
18 : IRectGridIO(grid)
19 {
20 }
21 virtual ~RectGridIO() = default;
22
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
30private:
31 RectGridIO() = default;
32};
33
34} /* namespace Nextsim */
35
36#endif /* RECTGRIDIO_HPP */
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.