CYCLUS
Loading...
Searching...
No Matches
timeseries.cc
Go to the documentation of this file.
1#include "timeseries.h"
2
3namespace cyclus {
4namespace toolkit {
5
6std::map<std::string, std::vector<time_series_listener_t>>
8
9template <>
10void RecordTimeSeries<POWER>(cyclus::Agent* agent, double value,
11 std::string units) {
12 RecordTimeSeries<double>("Power", agent, value, units);
13}
14
15template <>
17 std::string units) {
18 RecordTimeSeries<double>("EnrichmentSWU", agent, value, units);
19}
20
21template <>
23 std::string units) {
24 RecordTimeSeries<double>("EnrichmentFeed", agent, value, units);
25}
26
27} // namespace toolkit
28} // namespace cyclus
The abstract base class used by all types of agents that live and interact in a simulation.
Definition agent.h:50
void RecordTimeSeries< ENRICH_FEED >(cyclus::Agent *agent, double value, std::string units)
Definition timeseries.cc:22
void RecordTimeSeries< ENRICH_SWU >(cyclus::Agent *agent, double value, std::string units)
Definition timeseries.cc:16
void RecordTimeSeries< POWER >(cyclus::Agent *agent, double value, std::string units)
Definition timeseries.cc:10
std::map< std::string, std::vector< time_series_listener_t > > TIME_SERIES_LISTENERS
Definition timeseries.cc:7
void RecordTimeSeries(cyclus::Agent *agent, double value, std::string units="")
Records a per-time step quantity for a given type.
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
Definition agent.cc:14