Definition at line 20 of file StructureFactory.hpp.
◆ fileFromState()
void Nextsim::StructureFactory::fileFromState |
( |
const ModelState & | state, |
|
|
const ModelMetadata & | meta, |
|
|
const std::string & | filePath, |
|
|
bool | isRestart = false ) |
|
static |
Takes a ModelState and a template file name to write the state out to a target file path.
- Parameters
-
state | the ModelState to be written. |
filePath | the path for the file to be written to. |
Definition at line 72 of file StructureFactory.cpp.
◆ stateFromFile()
ModelState Nextsim::StructureFactory::stateFromFile |
( |
const std::string & | filePath | ) |
|
|
static |
The documentation for this class was generated from the following files: