CYCAMORE
Public Member Functions | Private Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for cycamore::NatUConverter:
Collaboration graph
[legend]

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 More...
 
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 More...
 
 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 51 of file _tmp_build/cycamore/enrichment.h.

Constructor & Destructor Documentation

◆ NatUConverter() [1/2]

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

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

◆ ~NatUConverter() [1/2]

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

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

◆ NatUConverter() [2/2]

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

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

◆ ~NatUConverter() [2/2]

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

Definition at line 53 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 58 of file src/enrichment.h.

References cycamore::SWUConverter::feed_, and cycamore::SWUConverter::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 _tmp_build/cycamore/enrichment.h.

References cycamore::SWUConverter::feed_, and cycamore::SWUConverter::tails_.

Referenced by cycamore::Enrichment::Enrich_(), and cycamore::TEST_F().

◆ 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 76 of file src/enrichment.h.

References cycamore::SWUConverter::feed_, feed_, cycamore::SWUConverter::tails_, 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 _tmp_build/cycamore/enrichment.h.

References cycamore::SWUConverter::feed_, feed_, cycamore::SWUConverter::tails_, and tails_.

◆ version() [1/2]

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

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

References CYCAMORE_VERSION.

◆ version() [2/2]

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

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

References CYCAMORE_VERSION.

Member Data Documentation

◆ feed_

double cycamore::NatUConverter::feed_
private

Definition at line 86 of file _tmp_build/cycamore/enrichment.h.

Referenced by operator==().

◆ tails_

double cycamore::NatUConverter::tails_
private

Definition at line 86 of file _tmp_build/cycamore/enrichment.h.

Referenced by operator==().


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