16 : feed_(feed), product_(product), tails_(tails) {}
45 LOG(
LEV_DEBUG1,
"CEnr") <<
"Comparing u235 atom fraction : " << u235
46 <<
" with u238 atom fraction: " << u238;
48 if (u235 + u238 > 0) {
49 value = u235 / (u235 + u238);
63 LOG(
LEV_DEBUG1,
"CEnr") <<
"Comparing u235 mass fraction : " << u235
64 <<
" with u238 mass fraction: " << u238;
66 if (u235 + u238 > 0) {
67 value = u235 / (u235 + u238);
77 return mq.
mass(922350000) + mq.
mass(922380000);
84 return product_qty * factor;
91 return product_qty * factor;
97 std::stringstream msg;
98 msg <<
"The provided fraction (" << frac
99 <<
") is lower than the acceptable range.";
104 std::stringstream msg;
105 msg <<
"The provided fraction (" << frac
106 <<
") is higher than the acceptable range.";
110 return (1 - 2 * frac) * std::log(1 / frac - 1);
115 double feed =
FeedQty(product_qty, assays);
116 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