![]() |
CYCLUS
|
Container for a static simulation-global parameters that both describe the simulation and affect its behavior.
#include <context.h>
Public Member Functions | |
| SimInfo () | |
| SimInfo (int dur, boost::uuids::uuid parent_sim, int branch_time, std::string parent_type, std::string handle="") | |
| SimInfo (int dur, int y0, int m0, std::string handle, std::string d) | |
| SimInfo (int dur, int y0=2010, int m0=1, std::string handle="") | |
Public Attributes | |
| int | branch_time |
| std::string | decay |
| uint64_t | dt |
| int | duration |
| double | eps |
| double | eps_rsrc |
| bool | explicit_inventory |
| bool | explicit_inventory_compact |
| std::string | handle |
| int | m0 |
| boost::uuids::uuid | parent_sim |
| std::string | parent_type |
| uint64_t | seed |
| uint64_t | stride |
| int | y0 |
| cyclus::SimInfo::SimInfo | ( | ) |
constructs a SimInfo instance with default variables
Definition at line 24 of file context.cc.
| cyclus::SimInfo::SimInfo | ( | int | dur, |
| int | y0 = 2010, | ||
| int | m0 = 1, | ||
| std::string | handle = "" ) |
constructs a SimInfo instance using some default variables
| dur | simulation duration in number of timesteps |
| y0 | start year for the simulation |
| m0 | start month for the simulation |
| handle | is this simulation's unique simulation handle |
Definition at line 38 of file context.cc.
| cyclus::SimInfo::SimInfo | ( | int | dur, |
| int | y0, | ||
| int | m0, | ||
| std::string | handle, | ||
| std::string | d ) |
constructs a SimInfo instance using no default variables
| dur | simulation duration in number of timesteps |
| y0 | start year for the simulation |
| m0 | start month for the simulation |
| handle | is this simulation's unique simulation handle |
| d | the decay data member, "never" for no decay. "manual" otherwise |
Definition at line 53 of file context.cc.
| cyclus::SimInfo::SimInfo | ( | int | dur, |
| boost::uuids::uuid | parent_sim, | ||
| int | branch_time, | ||
| std::string | parent_type, | ||
| std::string | handle = "" ) |
constructs a SimInfo instance
| dur | simulation duration in number of timesteps |
| parent_sim | the uuid of the parent simulation |
| branch_time | |
| parent_type | a string indicating the type of the parent simulation |
| handle | is this simulation's unique simulation handle |
Definition at line 68 of file context.cc.
| int cyclus::SimInfo::branch_time |
| std::string cyclus::SimInfo::decay |
| uint64_t cyclus::SimInfo::dt |
| int cyclus::SimInfo::duration |
| double cyclus::SimInfo::eps_rsrc |
| bool cyclus::SimInfo::explicit_inventory |
| bool cyclus::SimInfo::explicit_inventory_compact |
| std::string cyclus::SimInfo::handle |
| int cyclus::SimInfo::m0 |
| boost::uuids::uuid cyclus::SimInfo::parent_sim |
| std::string cyclus::SimInfo::parent_type |
| uint64_t cyclus::SimInfo::seed |
| uint64_t cyclus::SimInfo::stride |
| int cyclus::SimInfo::y0 |