netxsimdg
Loading...
Searching...
No Matches
Nextsim::RectangularGrid::IRectGridIO Class Referenceabstract
Inheritance diagram for Nextsim::RectangularGrid::IRectGridIO:
Inheritance graph
Collaboration diagram for Nextsim::RectangularGrid::IRectGridIO:
Collaboration graph

Public Member Functions

 IRectGridIO (RectangularGrid &grid)
 
virtual ModelState getModelState (const std::string &filePath)=0
 
virtual void dumpModelState (const ModelState &state, const ModelMetadata &metadata, const std::string &filePath, bool isRestart) const =0
 Dumps the given ModelState to the given file path.
 

Detailed Description

Definition at line 72 of file RectangularGrid.hpp.

Constructor & Destructor Documentation

◆ IRectGridIO()

Nextsim::RectangularGrid::IRectGridIO::IRectGridIO ( RectangularGrid & grid)
inline

Definition at line 74 of file RectangularGrid.hpp.

Member Function Documentation

◆ dumpModelState()

virtual void Nextsim::RectangularGrid::IRectGridIO::dumpModelState ( const ModelState & state,
const ModelMetadata & metadata,
const std::string & filePath,
bool isRestart ) const
pure virtual

Dumps the given ModelState to the given file path.

Parameters
stateThe ModelState data
filePathThe path to attempt to write the data to.

Implemented in Nextsim::RectGridIO.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: