CYCAMORE
Loading...
Searching...
No Matches
cycamore::MixerTest Class Reference
Inheritance diagram for cycamore::MixerTest:

Public Types

typedef cyclus::toolkit::ResBuf< cyclus::Material > InvBuffer
 
typedef cyclus::toolkit::ResBuf< cyclus::Material > InvBuffer
 

Public Member Functions

InvBufferGetOutPutBuffer ()
 
InvBufferGetOutPutBuffer ()
 
double GetOutStream_capacity ()
 
double GetOutStream_capacity ()
 
std::string GetOutStream_comds ()
 
std::string GetOutStream_comds ()
 
std::vector< double > GetStream_capacity ()
 
std::vector< double > GetStream_capacity ()
 
std::vector< double > GetStream_ratio ()
 
std::vector< double > GetStream_ratio ()
 
std::map< std::string, InvBufferGetStreamBuffer ()
 
std::map< std::string, InvBufferGetStreamBuffer ()
 
double GetThroughput ()
 
double GetThroughput ()
 
void SetIn_stream (std::vector< std::map< std::string, double > > in_stream, std::vector< double > ratios, std::vector< double > caps)
 
void SetIn_stream (std::vector< std::map< std::string, double > > in_stream, std::vector< double > ratios, std::vector< double > caps)
 
void SetIn_stream (t_instream streams)
 
void SetIn_stream (t_instream streams)
 
void SetInputInv (std::vector< cyclus::Material::Ptr > mat)
 
void SetInputInv (std::vector< cyclus::Material::Ptr > mat)
 
void SetOutStream_capacity (double cap)
 
void SetOutStream_capacity (double cap)
 
void SetOutStream_comds (std::string com)
 
void SetOutStream_comds (std::string com)
 
void SetStream_capacity (std::vector< double > new_caps)
 
void SetStream_capacity (std::vector< double > new_caps)
 
void SetStream_ratio (std::vector< double > new_ratios)
 
void SetStream_ratio (std::vector< double > new_ratios)
 
void SetThroughput (double thpt)
 
void SetThroughput (double thpt)
 
virtual void SetUp ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
virtual void TearDown ()
 

Public Attributes

std::vector< double > in_cap
 
std::vector< std::map< std::string, double > > in_coms
 
std::vector< double > in_frac
 
Mixermf_facility_
 
double out_cap
 
std::string out_com
 
cyclus::TestContext tc_
 
double throughput
 

Detailed Description

Definition at line 50 of file build/cycamore/mixer_tests.cc.

Member Typedef Documentation

◆ InvBuffer [1/2]

typedef cyclus::toolkit::ResBuf<cyclus::Material> cycamore::MixerTest::InvBuffer

Definition at line 52 of file build/cycamore/mixer_tests.cc.

◆ InvBuffer [2/2]

typedef cyclus::toolkit::ResBuf<cyclus::Material> cycamore::MixerTest::InvBuffer

Definition at line 52 of file src/mixer_tests.cc.

Member Function Documentation

◆ GetOutPutBuffer() [1/2]

InvBuffer * cycamore::MixerTest::GetOutPutBuffer ( )
inline

Definition at line 168 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::output.

◆ GetOutPutBuffer() [2/2]

InvBuffer * cycamore::MixerTest::GetOutPutBuffer ( )
inline

Definition at line 168 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::output.

◆ GetOutStream_capacity() [1/2]

double cycamore::MixerTest::GetOutStream_capacity ( )
inline

Definition at line 164 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::out_buf_size.

◆ GetOutStream_capacity() [2/2]

double cycamore::MixerTest::GetOutStream_capacity ( )
inline

Definition at line 164 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::out_buf_size.

◆ GetOutStream_comds() [1/2]

std::string cycamore::MixerTest::GetOutStream_comds ( )
inline

Definition at line 162 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::out_commod.

◆ GetOutStream_comds() [2/2]

std::string cycamore::MixerTest::GetOutStream_comds ( )
inline

Definition at line 162 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::out_commod.

◆ GetStream_capacity() [1/2]

std::vector< double > cycamore::MixerTest::GetStream_capacity ( )
inline

Definition at line 158 of file build/cycamore/mixer_tests.cc.

References cycamore::Mixer::in_buf_sizes, and mf_facility_.

◆ GetStream_capacity() [2/2]

std::vector< double > cycamore::MixerTest::GetStream_capacity ( )
inline

Definition at line 158 of file src/mixer_tests.cc.

References cycamore::Mixer::in_buf_sizes, and mf_facility_.

◆ GetStream_ratio() [1/2]

std::vector< double > cycamore::MixerTest::GetStream_ratio ( )
inline

Definition at line 156 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::mixing_ratios.

◆ GetStream_ratio() [2/2]

std::vector< double > cycamore::MixerTest::GetStream_ratio ( )
inline

Definition at line 156 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::mixing_ratios.

◆ GetStreamBuffer() [1/2]

std::map< std::string, InvBuffer > cycamore::MixerTest::GetStreamBuffer ( )
inline

Definition at line 170 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::streambufs.

◆ GetStreamBuffer() [2/2]

std::map< std::string, InvBuffer > cycamore::MixerTest::GetStreamBuffer ( )
inline

Definition at line 170 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::streambufs.

◆ GetThroughput() [1/2]

double cycamore::MixerTest::GetThroughput ( )
inline

Definition at line 166 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::throughput.

◆ GetThroughput() [2/2]

double cycamore::MixerTest::GetThroughput ( )
inline

Definition at line 166 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::throughput.

◆ SetIn_stream() [1/4]

void cycamore::MixerTest::SetIn_stream ( std::vector< std::map< std::string, double > > in_stream,
std::vector< double > ratios,
std::vector< double > caps )
inline

Definition at line 110 of file build/cycamore/mixer_tests.cc.

References SetIn_stream().

◆ SetIn_stream() [2/4]

void cycamore::MixerTest::SetIn_stream ( std::vector< std::map< std::string, double > > in_stream,
std::vector< double > ratios,
std::vector< double > caps )
inline

Definition at line 110 of file src/mixer_tests.cc.

References SetIn_stream().

◆ SetIn_stream() [3/4]

void cycamore::MixerTest::SetIn_stream ( t_instream streams)
inline

Definition at line 99 of file build/cycamore/mixer_tests.cc.

References in_cap, in_frac, mf_facility_, and cycamore::Mixer::streams_.

Referenced by SetIn_stream(), and SetUp().

◆ SetIn_stream() [4/4]

void cycamore::MixerTest::SetIn_stream ( t_instream streams)
inline

Definition at line 99 of file src/mixer_tests.cc.

References in_cap, in_frac, mf_facility_, and cycamore::Mixer::streams_.

◆ SetInputInv() [1/2]

void cycamore::MixerTest::SetInputInv ( std::vector< cyclus::Material::Ptr > mat)
inline

Definition at line 149 of file build/cycamore/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::streambufs.

◆ SetInputInv() [2/2]

void cycamore::MixerTest::SetInputInv ( std::vector< cyclus::Material::Ptr > mat)
inline

Definition at line 149 of file src/mixer_tests.cc.

References mf_facility_, and cycamore::Mixer::streambufs.

◆ SetOutStream_capacity() [1/2]

void cycamore::MixerTest::SetOutStream_capacity ( double cap)
inline

◆ SetOutStream_capacity() [2/2]

void cycamore::MixerTest::SetOutStream_capacity ( double cap)
inline

Definition at line 144 of file src/mixer_tests.cc.

References mf_facility_, cycamore::Mixer::out_buf_size, and out_cap.

◆ SetOutStream_comds() [1/2]

void cycamore::MixerTest::SetOutStream_comds ( std::string com)
inline

Definition at line 139 of file build/cycamore/mixer_tests.cc.

References mf_facility_, out_com, and cycamore::Mixer::out_commod.

Referenced by SetUp().

◆ SetOutStream_comds() [2/2]

void cycamore::MixerTest::SetOutStream_comds ( std::string com)
inline

Definition at line 139 of file src/mixer_tests.cc.

References mf_facility_, out_com, and cycamore::Mixer::out_commod.

◆ SetStream_capacity() [1/2]

void cycamore::MixerTest::SetStream_capacity ( std::vector< double > new_caps)
inline

◆ SetStream_capacity() [2/2]

void cycamore::MixerTest::SetStream_capacity ( std::vector< double > new_caps)
inline

◆ SetStream_ratio() [1/2]

void cycamore::MixerTest::SetStream_ratio ( std::vector< double > new_ratios)
inline

◆ SetStream_ratio() [2/2]

void cycamore::MixerTest::SetStream_ratio ( std::vector< double > new_ratios)
inline

◆ SetThroughput() [1/2]

void cycamore::MixerTest::SetThroughput ( double thpt)
inline

◆ SetThroughput() [2/2]

void cycamore::MixerTest::SetThroughput ( double thpt)
inline

Definition at line 94 of file src/mixer_tests.cc.

References mf_facility_, cycamore::Mixer::throughput, and throughput.

◆ SetUp() [1/2]

virtual void cycamore::MixerTest::SetUp ( )
inlinevirtual

Definition at line 57 of file build/cycamore/mixer_tests.cc.

References mf_facility_, SetIn_stream(), SetOutStream_comds(), and tc_.

◆ SetUp() [2/2]

virtual void cycamore::MixerTest::SetUp ( )
inlinevirtual

Definition at line 57 of file src/mixer_tests.cc.

References mf_facility_, SetIn_stream(), SetOutStream_comds(), and tc_.

◆ TearDown() [1/2]

virtual void cycamore::MixerTest::TearDown ( )
inlinevirtual

Definition at line 83 of file build/cycamore/mixer_tests.cc.

References mf_facility_.

◆ TearDown() [2/2]

virtual void cycamore::MixerTest::TearDown ( )
inlinevirtual

Definition at line 83 of file src/mixer_tests.cc.

References mf_facility_.

Member Data Documentation

◆ in_cap

std::vector< double > cycamore::MixerTest::in_cap

Definition at line 87 of file build/cycamore/mixer_tests.cc.

Referenced by SetIn_stream().

◆ in_coms

std::vector< std::map< std::string, double > > cycamore::MixerTest::in_coms

Definition at line 85 of file build/cycamore/mixer_tests.cc.

◆ in_frac

std::vector< double > cycamore::MixerTest::in_frac

Definition at line 86 of file build/cycamore/mixer_tests.cc.

Referenced by SetIn_stream().

◆ mf_facility_

◆ out_cap

double cycamore::MixerTest::out_cap

Definition at line 90 of file build/cycamore/mixer_tests.cc.

Referenced by SetOutStream_capacity().

◆ out_com

std::string cycamore::MixerTest::out_com

Definition at line 89 of file build/cycamore/mixer_tests.cc.

Referenced by SetOutStream_comds().

◆ tc_

cyclus::TestContext cycamore::MixerTest::tc_

Definition at line 54 of file build/cycamore/mixer_tests.cc.

Referenced by SetUp().

◆ throughput

double cycamore::MixerTest::throughput

Definition at line 92 of file build/cycamore/mixer_tests.cc.

Referenced by SetThroughput().


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