1#ifndef CYCLUS_SRC_DECAYER_H_
2#define CYCLUS_SRC_DECAYER_H_
23typedef std::map<int, std::pair<int, double>>
ParentMap;
30typedef std::map<int, std::vector<std::pair<int, double>>>
DaughtersMap;
46 void Decay(
double secs);
58 static void BuildDecayMatrix();
67 static Matrix decay_matrix_;
74 static NucList nuclides_tracked_;
78 static void AddNucToMaps(
int nuc);
81 static void AddNucToList(
int nuc);
84 static bool IsNucTracked(
int nuc);
int TrackedNuclide(int i)
the tracked nuclide at position i
void GetResult(CompMap &comp)
set the composition from a CompMap
Decayer(const CompMap &comp)
void Decay(double secs)
decay the material
int n_tracked_nuclides()
the number of tracked nuclides
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
std::map< Nuc, double > CompMap
a raw definition of nuclides and corresponding (dimensionless quantities).
std::map< int, std::vector< std::pair< int, double > > > DaughtersMap
A map type to represent all of the daughter nuclides tracked.
std::map< int, std::pair< int, double > > ParentMap
A map type to represent all of the parent nuclides tracked.
std::vector< int > NucList