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

#include <source_tests.h>

Inheritance diagram for cycamore::SourceTest:

Public Member Functions

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext (int nreqs, std::string commodity)
 
boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext (int nreqs, std::string commodity)
 
void InitParameters ()
 
void InitParameters ()
 
std::string outcommod (cycamore::Source *s)
 
std::string outcommod (cycamore::Source *s)
 
void outcommod (cycamore::Source *s, std::string commod)
 
void outcommod (cycamore::Source *s, std::string commod)
 
std::string outrecipe (cycamore::Source *s)
 
std::string outrecipe (cycamore::Source *s)
 
void outrecipe (cycamore::Source *s, std::string recipe)
 
void outrecipe (cycamore::Source *s, std::string recipe)
 
virtual void SetUp ()
 
virtual void SetUp ()
 
void SetUpSource ()
 
void SetUpSource ()
 
virtual void TearDown ()
 
virtual void TearDown ()
 
double throughput (cycamore::Source *s)
 
double throughput (cycamore::Source *s)
 
void throughput (cycamore::Source *s, double val)
 
void throughput (cycamore::Source *s, double val)
 

Public Attributes

double capacity
 
std::string commod
 
cyclus::Package::Ptr package
 
std::string package_name
 
cyclus::Composition::Ptr recipe
 
std::string recipe_name
 
cycamore::Sourcesrc_facility
 
cyclus::TestContext tc
 
TestFacility * trader
 
cyclus::TransportUnit::Ptr tu
 
std::string tu_name
 

Detailed Description

Definition at line 17 of file build/cycamore/source_tests.h.

Member Function Documentation

◆ GetContext() [1/2]

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > cycamore::SourceTest::GetContext ( int nreqs,
std::string commodity )

Definition at line 229 of file build/cycamore/source_tests.cc.

References commod, and trader.

◆ GetContext() [2/2]

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > cycamore::SourceTest::GetContext ( int nreqs,
std::string commodity )

◆ InitParameters() [1/2]

void cycamore::SourceTest::InitParameters ( )

Definition at line 25 of file build/cycamore/source_tests.cc.

References capacity, commod, package_name, recipe, recipe_name, tc, and tu_name.

Referenced by SetUp().

◆ InitParameters() [2/2]

void cycamore::SourceTest::InitParameters ( )

◆ outcommod() [1/4]

std::string cycamore::SourceTest::outcommod ( cycamore::Source * s)
inline

Definition at line 34 of file build/cycamore/source_tests.h.

Referenced by SetUpSource().

◆ outcommod() [2/4]

std::string cycamore::SourceTest::outcommod ( cycamore::Source * s)
inline

Definition at line 34 of file src/source_tests.h.

◆ outcommod() [3/4]

void cycamore::SourceTest::outcommod ( cycamore::Source * s,
std::string commod )
inline

Definition at line 40 of file build/cycamore/source_tests.h.

References commod.

◆ outcommod() [4/4]

void cycamore::SourceTest::outcommod ( cycamore::Source * s,
std::string commod )
inline

Definition at line 40 of file src/source_tests.h.

References commod.

◆ outrecipe() [1/4]

std::string cycamore::SourceTest::outrecipe ( cycamore::Source * s)
inline

Definition at line 33 of file build/cycamore/source_tests.h.

Referenced by SetUpSource().

◆ outrecipe() [2/4]

std::string cycamore::SourceTest::outrecipe ( cycamore::Source * s)
inline

Definition at line 33 of file src/source_tests.h.

◆ outrecipe() [3/4]

void cycamore::SourceTest::outrecipe ( cycamore::Source * s,
std::string recipe )
inline

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

References recipe.

◆ outrecipe() [4/4]

void cycamore::SourceTest::outrecipe ( cycamore::Source * s,
std::string recipe )
inline

Definition at line 37 of file src/source_tests.h.

References recipe.

◆ SetUp() [1/2]

void cycamore::SourceTest::SetUp ( )
virtual

◆ SetUp() [2/2]

virtual void cycamore::SourceTest::SetUp ( )
virtual

◆ SetUpSource() [1/2]

void cycamore::SourceTest::SetUpSource ( )

Definition at line 36 of file build/cycamore/source_tests.cc.

References capacity, commod, outcommod(), outrecipe(), recipe_name, src_facility, and throughput().

Referenced by SetUp().

◆ SetUpSource() [2/2]

void cycamore::SourceTest::SetUpSource ( )

◆ TearDown() [1/2]

void cycamore::SourceTest::TearDown ( )
virtual

Definition at line 21 of file build/cycamore/source_tests.cc.

References src_facility.

◆ TearDown() [2/2]

virtual void cycamore::SourceTest::TearDown ( )
virtual

◆ throughput() [1/4]

double cycamore::SourceTest::throughput ( cycamore::Source * s)
inline

Definition at line 35 of file build/cycamore/source_tests.h.

Referenced by SetUpSource().

◆ throughput() [2/4]

double cycamore::SourceTest::throughput ( cycamore::Source * s)
inline

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

◆ throughput() [3/4]

void cycamore::SourceTest::throughput ( cycamore::Source * s,
double val )
inline

Definition at line 43 of file build/cycamore/source_tests.h.

◆ throughput() [4/4]

void cycamore::SourceTest::throughput ( cycamore::Source * s,
double val )
inline

Definition at line 43 of file src/source_tests.h.

Member Data Documentation

◆ capacity

double cycamore::SourceTest::capacity

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

Referenced by InitParameters(), and SetUpSource().

◆ commod

std::string cycamore::SourceTest::commod

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

Referenced by GetContext(), InitParameters(), outcommod(), and SetUpSource().

◆ package

cyclus::Package::Ptr cycamore::SourceTest::package

Definition at line 25 of file build/cycamore/source_tests.h.

◆ package_name

std::string cycamore::SourceTest::package_name

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

Referenced by InitParameters().

◆ recipe

cyclus::Composition::Ptr cycamore::SourceTest::recipe

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

Referenced by InitParameters(), and outrecipe().

◆ recipe_name

std::string cycamore::SourceTest::recipe_name

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

Referenced by InitParameters(), and SetUpSource().

◆ src_facility

cycamore::Source * cycamore::SourceTest::src_facility

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

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

◆ tc

cyclus::TestContext cycamore::SourceTest::tc

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

Referenced by InitParameters(), and SetUp().

◆ trader

TestFacility * cycamore::SourceTest::trader

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

Referenced by GetContext(), and SetUp().

◆ tu

cyclus::TransportUnit::Ptr cycamore::SourceTest::tu

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

◆ tu_name

std::string cycamore::SourceTest::tu_name

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

Referenced by InitParameters().


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