PyNE C++
Classes | Namespaces | Functions | Variables
enrichment.h File Reference

Top-level enrichment functionality. More...

#include "enrichment_symbolic.h"

Go to the source code of this file.

Classes

class  pyne::enrichment::EnrichmentInfiniteLoopError
 Custom exception for when an enrichment solver has entered an infinite loop. More...
 
class  pyne::enrichment::EnrichmentIterationLimit
 
class  pyne::enrichment::EnrichmentIterationNaN
 Custom exception for when an enrichment solver iteration has produced a NaN. More...
 

Namespaces

 pyne
 A container representing enrichment cascades.
 
 pyne::enrichment
 Enrichment Component Class and Functions.
 

Functions

Cascade pyne::enrichment::_fill_default_uranium_cascade ()
 Greates a cascade instance with default values for a uranium enrichment.
 
double pyne::enrichment::feed_per_prod (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::feed_per_tail (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::prod_per_feed (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::prod_per_tail (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::tail_per_feed (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::tail_per_prod (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::value_func (double x)
 Computes the value or separation potential of an assay x.
 
double pyne::enrichment::swu_per_feed (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::swu_per_prod (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::swu_per_tail (double x_feed, double x_prod, double x_tail)
 
double pyne::enrichment::alphastar_i (double alpha, double Mstar, double M_i)
 
Cascade pyne::enrichment::solve_numeric (Cascade &orig_casc, double tolerance=1.0E-7, int max_iter=100)
 
void pyne::enrichment::_recompute_nm (Cascade &casc, double tolerance=1.0E-7)
 
void pyne::enrichment::_recompute_prod_tail_mats (Cascade &casc)
 
Cascade pyne::enrichment::_norm_comp_secant (Cascade &casc, double tolerance=1.0E-7, int max_iter=100)
 
double pyne::enrichment::_deltaU_i_OverG (Cascade &casc, int i)
 
Multicomponent Functions

Finds a value of Mstar by minimzing the seperative power. Note that Mstar on orig_casc represents an intial guess at what Mstar might be. This is the final function that actually solves for an optimized M* that makes the cascade!

Parameters
orig_cascOriginal input cascade.
solverflag for solver to use, may be 'symbolic' or 'numeric'.
toleranceMaximum numerical error allowed in L/F, N, and M.
max_iterMaximum number of iterations for to perform.
Returns
A cascade whose N & M coorespond to the L/F value.
Cascade pyne::enrichment::multicomponent (Cascade &orig_casc, char *solver, double tolerance=1.0E-7, int max_iter=100)
 
Cascade pyne::enrichment::multicomponent (Cascade &orig_casc, std::string solver="symbolic", double tolerance=1.0E-7, int max_iter=100)
 

Variables

Cascade pyne::enrichment::default_uranium_cascade
 a cascade instance with default values for a uranium enrichment.
 

Detailed Description

Top-level enrichment functionality.

Author
Anthony Scopatz (scopatz@gmail.com)