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

The SWUConverter is a simple Converter class for material to determine the amount of SWU required for their proposed enrichment. More...

#include <enrichment.h>

Inheritance diagram for cycamore::SWUConverter:

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 SWU 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 SWU required
 
virtual bool operator== (Converter &other) const
 
virtual bool operator== (Converter &other) const
 
 SWUConverter (double feed_commod, double tails)
 
 SWUConverter (double feed_commod, double tails)
 
virtual ~SWUConverter ()
 
virtual ~SWUConverter ()
 

Private Attributes

double feed_
 
double tails_
 

Detailed Description

The SWUConverter is a simple Converter class for material to determine the amount of SWU required for their proposed enrichment.

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

Constructor & Destructor Documentation

◆ SWUConverter() [1/2]

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

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

◆ ~SWUConverter() [1/2]

virtual cycamore::SWUConverter::~SWUConverter ( )
inlinevirtual

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

◆ SWUConverter() [2/2]

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

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

◆ ~SWUConverter() [2/2]

virtual cycamore::SWUConverter::~SWUConverter ( )
inlinevirtual

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

Member Function Documentation

◆ convert() [1/2]

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

provides a conversion for the SWU required

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

References feed_, and tails_.

◆ convert() [2/2]

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

provides a conversion for the SWU required

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

References feed_, and tails_.

◆ operator==() [1/2]

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

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

References feed_, and tails_.

◆ operator==() [2/2]

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

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

References feed_, and tails_.

Member Data Documentation

◆ feed_

double cycamore::SWUConverter::feed_
private

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

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

◆ tails_

double cycamore::SWUConverter::tails_
private

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

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


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