CYCAMORE
Public Member Functions | Private Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for cycamore::SWUConverter:
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 SWU 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 SWU required More...
 
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 17 of file _tmp_build/cycamore/enrichment.h.

Constructor & Destructor Documentation

◆ SWUConverter() [1/2]

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

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

◆ ~SWUConverter() [1/2]

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

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

◆ SWUConverter() [2/2]

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

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

◆ ~SWUConverter() [2/2]

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

Definition at line 19 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 22 of file src/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 _tmp_build/cycamore/enrichment.h.

References feed_, and tails_.

Referenced by cycamore::TEST_F().

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

References feed_, and tails_.

Member Data Documentation

◆ feed_

double cycamore::SWUConverter::feed_
private

◆ tails_

double cycamore::SWUConverter::tails_
private

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