Class XSFile
Defined in File xsfile.h
Class Documentation
-
class XSFile
Class for reading cross-section data from a native OpenSn file.
Public Functions
-
XSFile(const std::string &file_name)
Create a cross-section file
- Parameters:
file_name – File name
-
void Read()
Read the file.
Public Members
-
std::string file_name_
-
std::ifstream file_
-
size_t num_groups_
-
size_t scattering_order_
-
size_t num_precursors_
-
std::vector<MultiGroupXS::Precursor> precursors_
-
std::vector<double> inv_velocity_
-
std::vector<double> e_bounds_
-
std::vector<double> sigma_t_
-
std::vector<double> sigma_a_
-
std::vector<double> sigma_f_
-
std::vector<double> nu_
-
std::vector<double> nu_prompt_
-
std::vector<double> nu_delayed_
-
std::vector<double> beta_
-
std::vector<double> chi_prompt_
-
std::vector<double> nu_sigma_f_
-
std::vector<double> chi_
-
std::vector<double> decay_constants_
-
std::vector<double> fractional_yields_
-
std::vector<std::vector<double>> emission_spectra_
-
std::vector<SparseMatrix> transfer_matrices_
-
std::vector<std::vector<double>> production_matrix_
-
XSFile(const std::string &file_name)