CYCAMORE
Loading...
Searching...
No Matches
cycamore::NatUConverter Class Reference

The NatUConverter is a simple Converter class for material to determine the amount of natural uranium required for their proposed enrichment. More...

#include <enrichment.h>

Inheritance diagram for cycamore::NatUConverter:

Public Member Functions

virtual double convert (cyclus::Material::Ptr m, cyclus::Arc const *a=NULL, cyclus::ExchangeTranslationContext< cyclus::Material > const *ctx=NULL) const
 provides a conversion for the amount of natural Uranium required
 
virtual double convert (cyclus::Material::Ptr m, cyclus::Arc const *a=NULL, cyclus::ExchangeTranslationContext< cyclus::Material > const *ctx=NULL) const
 provides a conversion for the amount of natural Uranium required
 
 NatUConverter (double feed_commod, double tails)
 
 NatUConverter (double feed_commod, double tails)
 
virtual bool operator== (Converter &other) const
 
virtual bool operator== (Converter &other) const
 
virtual std::string version ()
 
virtual std::string version ()
 
virtual ~NatUConverter ()
 
virtual ~NatUConverter ()
 

Private Attributes

double feed_
 
double tails_
 

Detailed Description

The NatUConverter is a simple Converter class for material to determine the amount of natural uranium required for their proposed enrichment.

Definition at line 53 of file build/cycamore/enrichment.h.

Constructor & Destructor Documentation

◆ NatUConverter() [1/2]

cycamore::NatUConverter::NatUConverter ( double feed_commod,
double tails )
inline

Definition at line 55 of file build/cycamore/enrichment.h.

◆ ~NatUConverter() [1/2]

virtual cycamore::NatUConverter::~NatUConverter ( )
inlinevirtual

Definition at line 57 of file build/cycamore/enrichment.h.

◆ NatUConverter() [2/2]

cycamore::NatUConverter::NatUConverter ( double feed_commod,
double tails )
inline

Definition at line 53 of file src/enrichment.h.

◆ ~NatUConverter() [2/2]

virtual cycamore::NatUConverter::~NatUConverter ( )
inlinevirtual

Definition at line 55 of file src/enrichment.h.

Member Function Documentation

◆ convert() [1/2]

virtual double cycamore::NatUConverter::convert ( cyclus::Material::Ptr m,
cyclus::Arc const * a = NULL,
cyclus::ExchangeTranslationContext< cyclus::Material > const * ctx = NULL ) const
inlinevirtual

provides a conversion for the amount of natural Uranium required

Definition at line 62 of file build/cycamore/enrichment.h.

References feed_, and tails_.

◆ convert() [2/2]

virtual double cycamore::NatUConverter::convert ( cyclus::Material::Ptr m,
cyclus::Arc const * a = NULL,
cyclus::ExchangeTranslationContext< cyclus::Material > const * ctx = NULL ) const
inlinevirtual

provides a conversion for the amount of natural Uranium required

Definition at line 60 of file src/enrichment.h.

References feed_, and tails_.

◆ operator==() [1/2]

virtual bool cycamore::NatUConverter::operator== ( Converter & other) const
inlinevirtual
Returns
true if Converter is a NatUConverter and feed and tails equal

Definition at line 80 of file build/cycamore/enrichment.h.

References feed_, and tails_.

◆ operator==() [2/2]

virtual bool cycamore::NatUConverter::operator== ( Converter & other) const
inlinevirtual
Returns
true if Converter is a NatUConverter and feed and tails equal

Definition at line 78 of file src/enrichment.h.

References feed_, and tails_.

◆ version() [1/2]

virtual std::string cycamore::NatUConverter::version ( )
inlinevirtual

Definition at line 59 of file build/cycamore/enrichment.h.

References CYCAMORE_VERSION.

◆ version() [2/2]

virtual std::string cycamore::NatUConverter::version ( )
inlinevirtual

Definition at line 57 of file src/enrichment.h.

References CYCAMORE_VERSION.

Member Data Documentation

◆ feed_

double cycamore::NatUConverter::feed_
private

Definition at line 88 of file build/cycamore/enrichment.h.

Referenced by convert(), and operator==().

◆ tails_

double cycamore::NatUConverter::tails_
private

Definition at line 88 of file build/cycamore/enrichment.h.

Referenced by convert(), and operator==().


The documentation for this class was generated from the following files: