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;
50 return nuclides_tracked_.size();
55 return nuclides_tracked_.at(i);
62 static void BuildDecayMatrix();
71 static Matrix decay_matrix_;
78 static NucList nuclides_tracked_;
81 static void AddNucToMaps(
int nuc);
84 static void AddNucToList(
int nuc);
87 static bool IsNucTracked(
int nuc);
Decayer is DEPRECATED. Use pyne::decayers::decay.
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< int, std::pair< int, double > > ParentMap
A map type to represent all of the parent nuclides tracked.
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.
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters
std::vector< int > NucList