Class RectGridIO

Inheritance Relationships

Base Type

Class Documentation

class RectGridIO : public Nextsim::RectangularGrid::IRectGridIO

Public Types

typedef RectangularGrid::GridDimensions GridDimensions

Public Functions

inline RectGridIO(RectangularGrid &grid)
virtual ~RectGridIO() = default
virtual ModelState getModelState(const std::string &filePath) override
virtual void dumpModelState(const ModelState &state, const std::string &filePath, bool isRestart) const override

Dumps the given ModelState to the given file path.

Parameters:
  • state – The ModelState data

  • filePath – The path to attempt to write the data to.