Class StructureFactory¶
Defined in File StructureFactory.hpp
Class Documentation¶
-
class StructureFactory¶
Public Static Functions
-
static ModelState stateFromFile(const std::string &filePath)¶
Returns the ModelState of the named restart file.
- Parameters:
filePath – the name of the file to be read.
-
static void fileFromState(const ModelState &state, const std::string &filePath, bool isRestart = false)¶
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.
-
static void finaliseAllFiles()¶
-
static ModelState stateFromFile(const std::string &filePath)¶