6 #ifndef PYNE_B3ANNCKDQ5HEJLI33RPZPDNX6A 7 #define PYNE_B3ANNCKDQ5HEJLI33RPZPDNX6A 9 #ifndef PYNE_IS_AMALGAMATED 19 namespace enrichment {
28 double feed_per_prod(
double x_feed,
double x_prod,
double x_tail);
31 double feed_per_tail(
double x_feed,
double x_prod,
double x_tail);
34 double prod_per_feed(
double x_feed,
double x_prod,
double x_tail);
37 double prod_per_tail(
double x_feed,
double x_prod,
double x_tail);
40 double tail_per_feed(
double x_feed,
double x_prod,
double x_tail);
43 double tail_per_prod(
double x_feed,
double x_prod,
double x_tail);
48 double swu_per_feed(
double x_feed,
double x_prod,
double x_tail);
51 double swu_per_prod(
double x_feed,
double x_prod,
double x_tail);
54 double swu_per_tail(
double x_feed,
double x_prod,
double x_tail);
118 double tolerance=1.0E-7,
int max_iter=100);
119 Cascade multicomponent(
Cascade & orig_casc, std::string solver=
"symbolic",
120 double tolerance=1.0E-7,
int max_iter=100);
127 virtual const char* what()
const throw()
129 return "Inifinite loop found while calculating enrichment cascade.";
138 virtual const char* what()
const throw()
140 return "Iteration limit hit durring enrichment calculation.";
148 virtual const char* what()
const throw()
150 return "Iteration has hit a point where some values are not-a-number.";
double prod_per_feed(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:49
double swu_per_feed(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:65
Cascade default_uranium_cascade
a cascade instance with default values for a uranium enrichment.
Cascade solve_numeric(Cascade &orig_casc, double tolerance=1.0E-7, int max_iter=100)
Definition: enrichment.cpp:314
double prod_per_tail(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:45
void _recompute_nm(Cascade &casc, double tolerance=1.0E-7)
Definition: enrichment.cpp:93
double feed_per_prod(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:37
a struct matching the '/decay/alphas' table in nuc_data.h5.
Definition: data.h:579
void _recompute_prod_tail_mats(Cascade &casc)
Definition: enrichment.cpp:147
double alphastar_i(double alpha, double Mstar, double M_i)
Definition: enrichment.cpp:87
Cascade _fill_default_uranium_cascade()
Greates a cascade instance with default values for a uranium enrichment.
Definition: enrichment.cpp:8
double _deltaU_i_OverG(Cascade &casc, int i)
Definition: enrichment.cpp:299
Custom exception for when an enrichment solver iteration has produced a NaN.
Definition: enrichment.h:145
double tail_per_feed(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:53
double swu_per_tail(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:79
double swu_per_prod(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:72
Custom exception for when an enrichment solver has entered an infinite loop.
Definition: enrichment.h:124
A multicomponent enrichment cascade solver using a symbolic solution to the mass flow rate equations...
double value_func(double x)
Computes the value or separation potential of an assay x.
Definition: enrichment.cpp:61
double tail_per_prod(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:57
A container representing enrichment cascades.
Definition: _atomic_data.h:16
double feed_per_tail(double x_feed, double x_prod, double x_tail)
Definition: enrichment.cpp:41
Definition: enrichment.h:135
A set of physical parameters used to specify an enrichment cascade.
Definition: enrichment_cascade.h:21
Cascade _norm_comp_secant(Cascade &casc, double tolerance=1.0E-7, int max_iter=100)
Definition: enrichment.cpp:187