48 << u235 <<
" with u238 atom fraction: "
51 if (u235 + u238 > 0) {
52 value = u235 / (u235 + u238);
67 << u235 <<
" with u238 mass fraction: "
70 if (u235 + u238 > 0) {
71 value = u235 / (u235 + u238);
81 return mq.
mass(922350000) + mq.
mass(922380000);
90 return product_qty * factor;
99 return product_qty * factor;
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);
123 double feed =
FeedQty(product_qty, assays);
124 double tails =
TailsQty(product_qty, assays);
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