Chi-Tech
|
#include <single_state_mgxs.h>
Public Member Functions | |
SingleStateMGXS () | |
void | MakeSimple0 (unsigned int num_groups, double sigma_t) |
void | MakeSimple1 (unsigned int num_groups, double sigma_t, double c) |
void | MakeCombined (std::vector< std::pair< int, double > > &combinations) |
void | MakeFromChiXSFile (const std::string &file_name) |
const unsigned int | NumGroups () const override |
const unsigned int | ScatteringOrder () const override |
const unsigned int | NumPrecursors () const override |
const bool | IsFissionable () const override |
const bool | DiffusionInitialized () const override |
const bool | ScatteringInitialized () const override |
const std::vector< double > & | SigmaTotal () const override |
const std::vector< double > & | SigmaAbsorption () const override |
const std::vector< double > & | SigmaFission () const override |
const std::vector< double > & | NuSigmaF () const override |
const std::vector< double > & | NuPromptSigmaF () const override |
const std::vector< double > & | NuDelayedSigmaF () const override |
const std::vector< double > & | InverseVelocity () const override |
const std::vector< chi_math::SparseMatrix > & | TransferMatrices () const override |
const chi_math::SparseMatrix & | TransferMatrix (unsigned int ell) const override |
const std::vector< std::vector< double > > | ProductionMatrix () const override |
const std::vector< Precursor > & | Precursors () const override |
const std::vector< double > & | DiffusionCoefficient () const override |
std::vector< double > | SigmaTransport () const override |
const std::vector< double > & | SigmaRemoval () const override |
const std::vector< double > & | SigmaSGtoG () const override |
Public Member Functions inherited from chi_physics::MultiGroupXS | |
MultiGroupXS () | |
void | ExportToChiXSFile (const std::string &file_name, const double fission_scaling=1.0) const |
void | PushLuaTable (lua_State *L) const override |
virtual const unsigned int | NumGroups () const =0 |
virtual const unsigned int | ScatteringOrder () const =0 |
virtual const unsigned int | NumPrecursors () const =0 |
virtual const bool | IsFissionable () const =0 |
virtual const bool | DiffusionInitialized () const =0 |
virtual const bool | ScatteringInitialized () const =0 |
virtual const std::vector< double > & | SigmaTotal () const =0 |
virtual const std::vector< double > & | SigmaAbsorption () const =0 |
virtual const std::vector< double > & | SigmaFission () const =0 |
virtual const std::vector< double > & | NuSigmaF () const =0 |
virtual const std::vector< double > & | NuPromptSigmaF () const =0 |
virtual const std::vector< double > & | NuDelayedSigmaF () const =0 |
virtual const std::vector< double > & | InverseVelocity () const =0 |
virtual const std::vector< chi_math::SparseMatrix > & | TransferMatrices () const =0 |
virtual const chi_math::SparseMatrix & | TransferMatrix (unsigned int ell) const =0 |
virtual const std::vector< std::vector< double > > | ProductionMatrix () const =0 |
virtual const std::vector< Precursor > & | Precursors () const =0 |
virtual const std::vector< double > & | DiffusionCoefficient () const =0 |
virtual std::vector< double > | SigmaTransport () const =0 |
virtual const std::vector< double > & | SigmaRemoval () const =0 |
virtual const std::vector< double > & | SigmaSGtoG () const =0 |
Public Member Functions inherited from chi_physics::MaterialProperty | |
MaterialProperty (PropertyType in_type) | |
virtual | ~MaterialProperty ()=default |
PropertyType | Type () |
virtual double | GetScalarValue () |
virtual void | PushLuaTable (lua_State *L) const |
Protected Types | |
typedef std::vector< std::pair< double, double > > | AnglePairs |
Protected Attributes | |
unsigned int | num_groups_ = 0 |
Total number of groups. More... | |
unsigned int | scattering_order_ = 0 |
Legendre scattering order. More... | |
unsigned int | num_precursors_ = 0 |
Number of precursors. More... | |
bool | is_fissionable_ = false |
std::vector< std::vector< double > > | e_bounds_ |
Energy bin boundaries in MeV. More... | |
std::vector< double > | sigma_t_ |
Total cross section. More... | |
std::vector< double > | sigma_a_ |
Absorption cross section. More... | |
std::vector< double > | sigma_f_ |
Fission cross section. More... | |
std::vector< double > | nu_sigma_f_ |
std::vector< double > | nu_prompt_sigma_f_ |
std::vector< double > | nu_delayed_sigma_f_ |
std::vector< double > | inv_velocity_ |
std::vector< chi_math::SparseMatrix > | transfer_matrices_ |
std::vector< std::vector< double > > | production_matrix_ |
std::vector< Precursor > | precursors_ |
bool | diffusion_initialized_ = false |
std::vector< double > | diffusion_coeff_ |
Transport corrected diffusion coeff. More... | |
std::vector< double > | sigma_removal_ |
Removal cross section. More... | |
std::vector< double > | sigma_s_gtog_ |
Within-group scattering xs. More... | |
bool | scattering_initialized_ = false |
Private Member Functions | |
void | Clear () |
void | ComputeAbsorption () |
void | ComputeDiffusionParameters () |
Private Attributes | |
std::vector< std::vector< double > > | cdf_gprime_g_ |
std::vector< std::vector< AnglePairs > > | scat_angles_gprime_g_ |
Additional Inherited Members | |
Data Fields inherited from chi_physics::MaterialProperty | |
std::string | property_name |
A class for handling multi-group cross sections.
Definition at line 14 of file single_state_mgxs.h.
|
protected |
Definition at line 17 of file single_state_mgxs.h.
|
inline |
Definition at line 58 of file single_state_mgxs.h.
|
private |
Definition at line 10 of file single_state_mgxs_00_general.cc.
|
private |
Definition at line 7 of file single_state_mgxs_02_diffparams.cc.
|
private |
Definition at line 53 of file single_state_mgxs_02_diffparams.cc.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 125 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 92 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 110 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 90 of file single_state_mgxs.h.
void chi_physics::SingleStateMGXS::MakeCombined | ( | std::vector< std::pair< int, double > > & | combinations | ) |
Populates the cross section from a combination of others.
Definition at line 120 of file single_state_mgxs_00_general.cc.
void chi_physics::SingleStateMGXS::MakeFromChiXSFile | ( | const std::string & | file_name | ) |
This method populates a transport cross section from a Chi cross section file.
Lambda for reading group structure data.
Lambda for reading vector data.
Lambda for reading 2D data
Lambda for reading transfer matrix data.
Lambda for checking for all non-negative values.
Lambda for checking for all strictly positive values.
Lambda for checking for any non-zero values.
Definition at line 15 of file single_state_mgxs_01_readfromchi.cc.
void chi_physics::SingleStateMGXS::MakeSimple0 | ( | unsigned int | num_groups, |
double | sigma_t | ||
) |
Makes a simple material with no transfer matrix just sigma_t.
Definition at line 47 of file single_state_mgxs_00_general.cc.
void chi_physics::SingleStateMGXS::MakeSimple1 | ( | unsigned int | num_groups, |
double | sigma_t, | ||
double | c | ||
) |
Makes a simple material with isotropic transfer matrix (L=0) and mostly down scattering but with a few of the last groups subject to up-scattering.
Definition at line 66 of file single_state_mgxs_00_general.cc.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 107 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 83 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 88 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 104 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 102 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 122 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 119 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 95 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 85 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 99 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 100 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 137 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 140 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 98 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 128 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 113 of file single_state_mgxs.h.
|
inlineoverridevirtual |
Implements chi_physics::MultiGroupXS.
Definition at line 116 of file single_state_mgxs.h.
|
private |
Definition at line 53 of file single_state_mgxs.h.
|
protected |
Transport corrected diffusion coeff.
Definition at line 45 of file single_state_mgxs.h.
|
protected |
Definition at line 44 of file single_state_mgxs.h.
|
protected |
Energy bin boundaries in MeV.
Definition at line 26 of file single_state_mgxs.h.
|
protected |
Definition at line 36 of file single_state_mgxs.h.
|
protected |
Definition at line 24 of file single_state_mgxs.h.
|
protected |
Definition at line 34 of file single_state_mgxs.h.
|
protected |
Definition at line 33 of file single_state_mgxs.h.
|
protected |
Definition at line 32 of file single_state_mgxs.h.
|
protected |
Total number of groups.
Definition at line 20 of file single_state_mgxs.h.
|
protected |
Number of precursors.
Definition at line 22 of file single_state_mgxs.h.
|
protected |
Definition at line 41 of file single_state_mgxs.h.
|
protected |
Definition at line 39 of file single_state_mgxs.h.
|
private |
Definition at line 54 of file single_state_mgxs.h.
|
protected |
Definition at line 51 of file single_state_mgxs.h.
|
protected |
Legendre scattering order.
Definition at line 21 of file single_state_mgxs.h.
|
protected |
Absorption cross section.
Definition at line 29 of file single_state_mgxs.h.
|
protected |
Fission cross section.
Definition at line 30 of file single_state_mgxs.h.
|
protected |
Removal cross section.
Definition at line 46 of file single_state_mgxs.h.
|
protected |
Within-group scattering xs.
Definition at line 47 of file single_state_mgxs.h.
|
protected |
Total cross section.
Definition at line 28 of file single_state_mgxs.h.
|
protected |
Definition at line 38 of file single_state_mgxs.h.