netxsimdg
Loading...
Searching...
No Matches
Nextsim::RectGridIO Class Reference
Inheritance diagram for Nextsim::RectGridIO:
Inheritance graph
Collaboration diagram for Nextsim::RectGridIO:
Collaboration graph

Public Types

typedef RectangularGrid::GridDimensions GridDimensions
 

Public Member Functions

 RectGridIO (RectangularGrid &grid)
 
ModelState getModelState (const std::string &filePath) override
 
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.
 
- Public Member Functions inherited from Nextsim::RectangularGrid::IRectGridIO
 IRectGridIO (RectangularGrid &grid)
 

Detailed Description

Definition at line 15 of file RectGridIO.hpp.

Member Typedef Documentation

◆ GridDimensions

Constructor & Destructor Documentation

◆ RectGridIO()

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

Definition at line 17 of file RectGridIO.hpp.

Member Function Documentation

◆ dumpModelState()

void Nextsim::RectGridIO::dumpModelState ( const ModelState & state,
const ModelMetadata & metadata,
const std::string & filePath,
bool isRestart ) const
overridevirtual

Dumps the given ModelState to the given file path.

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

Implements Nextsim::RectangularGrid::IRectGridIO.

Definition at line 81 of file RectGridIO.cpp.

Here is the call graph for this function:

◆ getModelState()

ModelState Nextsim::RectGridIO::getModelState ( const std::string & filePath)
overridevirtual

Implements Nextsim::RectangularGrid::IRectGridIO.

Definition at line 46 of file RectGridIO.cpp.


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