44 double u235 =
mq.atom_frac(922350000);
45 double u238 =
mq.atom_frac(922380000);
48 <<
u235 <<
" with u238 atom fraction: "
63 double u235 =
mq.mass_frac(922350000);
64 double u238 =
mq.mass_frac(922380000);
67 <<
u235 <<
" with u238 mass fraction: "
81 return mq.mass(922350000) +
mq.mass(922380000);
105 std::stringstream msg;
106 msg <<
"The provided fraction (" <<
frac
107 <<
") is lower than the acceptable range.";
112 std::stringstream msg;
113 msg <<
"The provided fraction (" <<
frac
114 <<
") is higher than the acceptable range.";
118 return (1 - 2 *
frac) * std::log(1 /
frac - 1);
boost::shared_ptr< Material > Ptr
For values that are too big, too small, etc.
Top-level enrichment functionality.
Code providing rudimentary logging capability for the Cyclus core.
#define LOG(level, prefix)
allows easy logging via the streaming operator similar to std::cout; this is the primary way to use t...
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
@ LEV_DEBUG1
debugging information - least verbose
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters