1 #ifndef SIMSTATE_H_INCLUDED
2 #define SIMSTATE_H_INCLUDED
24 #include <boost/property_tree/ptree.hpp>
67 void SetParameters(boost::property_tree::ptree
const& parameters);
85 boost::property_tree::ptree m_parameters;
86 boost::property_tree::ptree m_re_state;
87 std::string m_project_name;
92 #endif // end_of_include_guard
double GetTime() const
Returns the value of the current time step in seconds.
void SetRandomEngineState(boost::property_tree::ptree const &re_state)
Sets the state of the random number engine used for generating random in the simulation.
MeshState GetMeshState() const
Get the state of the mesh.
void PrintToStream(std::ostream &out) const
Prints a text representation to the given output stream.
Namespace for the core simulator.
void SetMeshState(MeshState const &mesh_state)
Sets the current state of the mesh in the simulation.
void SetTimeStep(int step)
Sets the index of the current time step.
std::string GetProjectName() const
Returns the name of the associated project.
void SetParameters(boost::property_tree::ptree const ¶meters)
Sets the parameters currently used simulation model.
Contains the state of the whole Simulator at a given simulation step.
boost::property_tree::ptree GetParameters() const
Returns the parameters currently used simulation model.
Contains the state of the whole Mesh at a given simulation step.
int GetTimeStep() const
Returns the index of the current time step.
void SetTime(double t)
Sets the value of the current time step in seconds.
void SetProjectName(std::string project_name)
Sets the name of the associated project.
boost::property_tree::ptree GetRandomEngineState() const
Returns the state of the random engine in a ptree.