CYCAMORE
Protected Member Functions | Protected Attributes | List of all members
cycamore::EnrichmentTest Class Reference

#include <enrichment_tests.h>

Inheritance diagram for cycamore::EnrichmentTest:
Inheritance graph
[legend]
Collaboration diagram for cycamore::EnrichmentTest:
Collaboration graph
[legend]

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 _tmp_build/cycamore/enrichment_tests.h.

Member Function Documentation

◆ DoAddMat() [1/2]

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

Definition at line 500 of file _tmp_build/cycamore/enrichment_tests.cc.

References cycamore::Enrichment::AddMat_(), and src_facility.

Referenced by cycamore::TEST_F().

Here is the call graph for this function:

◆ 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

Definition at line 517 of file _tmp_build/cycamore/enrichment_tests.cc.

References cycamore::Enrichment::Enrich_(), and src_facility.

Referenced by cycamore::TEST_F().

Here is the call graph for this function:

◆ 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

Definition at line 511 of file _tmp_build/cycamore/enrichment_tests.cc.

References cycamore::Enrichment::Offer_(), and src_facility.

Referenced by cycamore::TEST_F().

Here is the call graph for this function:

◆ DoOffer() [2/2]

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

◆ DoRequest() [1/2]

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

Definition at line 505 of file _tmp_build/cycamore/enrichment_tests.cc.

References cycamore::Enrichment::Request_(), and src_facility.

Referenced by cycamore::TEST_F().

Here is the call graph for this function:

◆ 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]

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

◆ GetMat() [2/2]

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

Definition at line 494 of file _tmp_build/cycamore/enrichment_tests.cc.

References feed_recipe, and tc_.

Referenced by cycamore::TEST_F().

◆ 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]

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

◆ SetUp() [2/2]

void cycamore::EnrichmentTest::SetUp ( )
protectedvirtual

Definition at line 442 of file _tmp_build/cycamore/enrichment_tests.cc.

References InitParameters(), SetUpSource(), src_facility, tc_, and trader.

Here is the call graph for this function:

◆ SetUpSource() [1/2]

void cycamore::EnrichmentTest::SetUpSource ( )
protected

◆ SetUpSource() [2/2]

void cycamore::EnrichmentTest::SetUpSource ( )
protected

◆ TearDown() [1/2]

void cycamore::EnrichmentTest::TearDown ( )
protectedvirtual

Definition at line 452 of file _tmp_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 _tmp_build/cycamore/enrichment_tests.h.

Referenced by InitParameters(), and cycamore::TEST_F().

◆ feed_commod

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

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

Referenced by InitParameters(), and SetUpSource().

◆ feed_recipe

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

◆ inv_size

double cycamore::EnrichmentTest::inv_size
protected

◆ max_enrich

double cycamore::EnrichmentTest::max_enrich
protected

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

Referenced by SetUpSource().

◆ order_prefs

bool cycamore::EnrichmentTest::order_prefs
protected

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

◆ product_commod

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

◆ recipe

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

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

Referenced by InitParameters().

◆ reserves

double cycamore::EnrichmentTest::reserves
protected

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

Referenced by InitParameters(), and SetUpSource().

◆ src_facility

Enrichment * cycamore::EnrichmentTest::src_facility
protected

◆ swu_capacity

double cycamore::EnrichmentTest::swu_capacity
protected

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

Referenced by InitParameters(), and SetUpSource().

◆ tails_assay

double cycamore::EnrichmentTest::tails_assay
protected

◆ tails_commod

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

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

Referenced by InitParameters(), and SetUpSource().

◆ tc_

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

◆ trader

TestFacility * cycamore::EnrichmentTest::trader
protected

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

Referenced by SetUp(), and cycamore::TEST_F().


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