netxsimdg
|
#include <ModelMetadata.hpp>
Public Member Functions | |
void | setTime (const TimePoint &time) |
Sets the initial or current model time. | |
void | incrementTime (const Duration &step) |
Increments the model time metadata value. | |
const TimePoint & | time () const |
Returns the current model time. | |
const std::string & | structureName () const |
Returns the string description of the model grid structure. | |
void | setConfig (const ConfigMap &config) |
Sets the configuration metadata. | |
Public Attributes | |
friend | CommonRestartMetadata |
A class to hold the metadata pertaining to the model as a whole, both constant and time varying values. Especially values required for data file output.
Definition at line 24 of file ModelMetadata.hpp.
|
inline |
Increments the model time metadata value.
step | Duration of the time increment to add. |
Definition at line 37 of file ModelMetadata.hpp.
|
inline |
Sets the configuration metadata.
config | The configuration metadata |
Definition at line 49 of file ModelMetadata.hpp.
|
inline |
Sets the initial or current model time.
time | TimePoint instance encoding the current time. |
Definition at line 31 of file ModelMetadata.hpp.
const std::string & Nextsim::ModelMetadata::structureName | ( | ) | const |
Returns the string description of the model grid structure.
Definition at line 14 of file ModelMetadata.cpp.
|
inline |
Returns the current model time.
Definition at line 39 of file ModelMetadata.hpp.
friend Nextsim::ModelMetadata::CommonRestartMetadata |
Definition at line 52 of file ModelMetadata.hpp.