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

#include <enrichment_tests.h>

Inheritance diagram for cycamore::EnrichmentTest:

Protected Member Functions

void DoAddMat (cyclus::Material::Ptr mat)
 
void DoAddMat (cyclus::Material::Ptr mat)
 
cyclus::Material::Ptr DoBid (cyclus::Material::Ptr mat)
 
cyclus::Material::Ptr DoBid (cyclus::Material::Ptr mat)
 
cyclus::Material::Ptr DoEnrich (cyclus::Material::Ptr mat, double qty)
 
cyclus::Material::Ptr DoEnrich (cyclus::Material::Ptr mat, double qty)
 
cyclus::Material::Ptr DoOffer (cyclus::Material::Ptr mat)
 
cyclus::Material::Ptr DoOffer (cyclus::Material::Ptr mat)
 
cyclus::Material::Ptr DoRequest ()
 
cyclus::Material::Ptr DoRequest ()
 
boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext (int nreqs, int nvalid)
 
boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext (int nreqs, int nvalid)
 
cyclus::Material::Ptr GetMat (double qty)
 
cyclus::Material::Ptr GetMat (double qty)
 
cyclus::Material::Ptr GetReqMat (double qty, double enr)
 
cyclus::Material::Ptr GetReqMat (double qty, double enr)
 
void InitParameters ()
 
void InitParameters ()
 
virtual void SetUp ()
 
virtual void SetUp ()
 
void SetUpSource ()
 
void SetUpSource ()
 
virtual void TearDown ()
 
virtual void TearDown ()
 

Protected Attributes

double feed_assay
 
std::string feed_commod
 
std::string feed_recipe
 
double inv_size
 
double max_enrich
 
bool order_prefs
 
std::string product_commod
 
cyclus::Composition::Ptr recipe
 
double reserves
 
Enrichmentsrc_facility
 
double swu_capacity
 
double tails_assay
 
std::string tails_commod
 
cyclus::TestContext tc_
 
TestFacility * trader
 

Detailed Description

Definition at line 18 of file build/cycamore/enrichment_tests.h.

Member Function Documentation

◆ DoAddMat() [1/2]

void cycamore::EnrichmentTest::DoAddMat ( cyclus::Material::Ptr mat)
protected

◆ DoAddMat() [2/2]

void cycamore::EnrichmentTest::DoAddMat ( cyclus::Material::Ptr mat)
protected

◆ DoBid() [1/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoBid ( cyclus::Material::Ptr mat)
protected

◆ DoBid() [2/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoBid ( cyclus::Material::Ptr mat)
protected

◆ DoEnrich() [1/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoEnrich ( cyclus::Material::Ptr mat,
double qty )
protected

◆ DoEnrich() [2/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoEnrich ( cyclus::Material::Ptr mat,
double qty )
protected

◆ DoOffer() [1/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoOffer ( cyclus::Material::Ptr mat)
protected

◆ DoOffer() [2/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoOffer ( cyclus::Material::Ptr mat)
protected

◆ DoRequest() [1/2]

Material::Ptr cycamore::EnrichmentTest::DoRequest ( )
protected

◆ DoRequest() [2/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::DoRequest ( )
protected

◆ GetContext() [1/2]

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > cycamore::EnrichmentTest::GetContext ( int nreqs,
int nvalid )
protected
Parameters
nreqsthe total number of requests
nvalidthe number of requests that are valid

◆ GetContext() [2/2]

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > cycamore::EnrichmentTest::GetContext ( int nreqs,
int nvalid )
protected
Parameters
nreqsthe total number of requests
nvalidthe number of requests that are valid

◆ GetMat() [1/2]

Material::Ptr cycamore::EnrichmentTest::GetMat ( double qty)
protected

Definition at line 493 of file build/cycamore/enrichment_tests.cc.

References feed_recipe, and tc_.

◆ GetMat() [2/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::GetMat ( double qty)
protected

◆ GetReqMat() [1/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::GetReqMat ( double qty,
double enr )
protected
Parameters
enrthe enrichment percent, i.e. for 5 w/o, enr = 0.05

◆ GetReqMat() [2/2]

cyclus::Material::Ptr cycamore::EnrichmentTest::GetReqMat ( double qty,
double enr )
protected
Parameters
enrthe enrichment percent, i.e. for 5 w/o, enr = 0.05

◆ InitParameters() [1/2]

void cycamore::EnrichmentTest::InitParameters ( )
protected

◆ InitParameters() [2/2]

void cycamore::EnrichmentTest::InitParameters ( )
protected

◆ SetUp() [1/2]

void cycamore::EnrichmentTest::SetUp ( )
protectedvirtual

◆ SetUp() [2/2]

virtual void cycamore::EnrichmentTest::SetUp ( )
protectedvirtual

◆ SetUpSource() [1/2]

◆ SetUpSource() [2/2]

void cycamore::EnrichmentTest::SetUpSource ( )
protected

◆ TearDown() [1/2]

void cycamore::EnrichmentTest::TearDown ( )
protectedvirtual

Definition at line 451 of file build/cycamore/enrichment_tests.cc.

References src_facility.

◆ TearDown() [2/2]

virtual void cycamore::EnrichmentTest::TearDown ( )
protectedvirtual

Member Data Documentation

◆ feed_assay

double cycamore::EnrichmentTest::feed_assay
protected

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

Referenced by InitParameters().

◆ feed_commod

std::string cycamore::EnrichmentTest::feed_commod
protected

Definition at line 22 of file build/cycamore/enrichment_tests.h.

Referenced by InitParameters(), and SetUpSource().

◆ feed_recipe

std::string cycamore::EnrichmentTest::feed_recipe
protected

Definition at line 22 of file build/cycamore/enrichment_tests.h.

Referenced by GetMat(), InitParameters(), and SetUpSource().

◆ inv_size

double cycamore::EnrichmentTest::inv_size
protected

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

Referenced by InitParameters(), and SetUpSource().

◆ max_enrich

double cycamore::EnrichmentTest::max_enrich
protected

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

Referenced by SetUpSource().

◆ order_prefs

bool cycamore::EnrichmentTest::order_prefs
protected

Definition at line 28 of file build/cycamore/enrichment_tests.h.

◆ product_commod

std::string cycamore::EnrichmentTest::product_commod
protected

Definition at line 22 of file build/cycamore/enrichment_tests.h.

Referenced by InitParameters(), and SetUpSource().

◆ recipe

cyclus::Composition::Ptr cycamore::EnrichmentTest::recipe
protected

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

Referenced by InitParameters().

◆ reserves

double cycamore::EnrichmentTest::reserves
protected

Definition at line 30 of file build/cycamore/enrichment_tests.h.

Referenced by InitParameters(), and SetUpSource().

◆ src_facility

Enrichment * cycamore::EnrichmentTest::src_facility
protected

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

Referenced by DoRequest(), SetUp(), SetUpSource(), and TearDown().

◆ swu_capacity

double cycamore::EnrichmentTest::swu_capacity
protected

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

Referenced by InitParameters(), and SetUpSource().

◆ tails_assay

double cycamore::EnrichmentTest::tails_assay
protected

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

Referenced by InitParameters(), and SetUpSource().

◆ tails_commod

std::string cycamore::EnrichmentTest::tails_commod
protected

Definition at line 22 of file build/cycamore/enrichment_tests.h.

Referenced by InitParameters(), and SetUpSource().

◆ tc_

cyclus::TestContext cycamore::EnrichmentTest::tc_
protected

Definition at line 20 of file build/cycamore/enrichment_tests.h.

Referenced by GetMat(), InitParameters(), and SetUp().

◆ trader

TestFacility * cycamore::EnrichmentTest::trader
protected

Definition at line 24 of file build/cycamore/enrichment_tests.h.

Referenced by SetUp().


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