Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

load_data.cpp File Reference

contains the ENDF specific data reading/loading implementations More...

Include dependency graph for load_data.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void LoadData (int F, int T)
 This is the primary loop over the many different types of ENDF data files.

void LoadMF1Data (int T, mf1_file &inFile)
 This code reads in the MF=1 data and converts it to ENDL format data.

bool MF1MTExists (int MT)
 Helper code to tell if MF=1, MT=MT file exists.

void LoadFissionData ()
 This code reads in all MF=1 fission data and converts it to ENDL format data.

void LoadMF3Data (mf3_file &inFile)
 This code reads in the MF=3 data and converts it to ENDL format data.

void LoadMF4Data (mf4_file &inFile)
 This code reads in the MF=4 data and converts it to ENDL format data.

void LoadMF5Data (mf5_file &inFile)
 This code reads in the MF=5 data and converts it to ENDL format data.

void LoadMF6Data (mf6_file &inFile)
 This code reads in the MF=6 data and converts it to ENDL format data.

void LoadGammaData (mf12_file &inFile)
 This code reads in all gamma data (mostly in MF=12) and converts it to ENDL format data.

void LoadMF13Data (mf13_file &inFile)
 This code reads in the MF=13 data and converts it to ENDL format data. For C=55 only.


Variables

ENDLClass ENDL
GlobalParameterClass Global
C55_gammas C55


Detailed Description

Definition in file load_data.cpp.


Function Documentation

LoadData int  F,
int  T
 

Parameters:
F ENDF MF number
T ENDF MT number

LoadData is the primary routine which opens the ENDF data files on disk and calls the data specific loading routines that read in the data and start the translation process.

Definition at line 59 of file load_data.cpp.

References endf_file_name(), ENDL, Global, Info(), LoadGammaData(), LoadMF13Data(), LoadMF3Data(), LoadMF4Data(), LoadMF5Data(), LoadMF6Data(), ENDF_file::open(), pastenum(), ENDLClass::set_QValue(), ENDLClass::set_s_number(), SevereError(), Unimplemented(), GlobalParameterClass::Value(), Warning(), and ENDLClass::write_file.

Referenced by main().

void LoadFissionData  ) 
 

Definition at line 252 of file load_data.cpp.

References endf_file_name(), ENDL, ENDLClass::eV2MeV, ENDF_file::get_regions(), Global, Info(), dd_list::INT, fission_delay::manager(), MF1MTExists(), mf1_file::mult_head(), dd_list::NBT, ENDF_file::open(), ENDLClass::QM, ENDLClass::reaction(), multiplicity::read_data(), mf1_file::read_line1(), mt458_file::reduce_Q(), ENDLClass::res_za, ENDLClass::set_s_number(), ENDLClass::set_x1(), ENDLClass::set_yo(), GlobalParameterClass::Value(), dd_list::write_endl(), and ENDLClass::write_file.

Referenced by LoadMF1Data(), and LoadMF3Data().

void LoadGammaData mf12_file inFile  ) 
 

Definition at line 969 of file load_data.cpp.

References endf_file_name(), ENDL, ENDLClass::F, mf14_file::first_line(), mf14_file::get_order(), Global, Info(), MF12_list::master(), MF14_split::master(), MF14_list::master(), mf4_table::master(), MF14_table::master(), MF12_deexcite::master(), ENDF_file::open(), pastenum(), mf12_file::read_line1(), ENDLClass::set_yo(), SevereError(), ENDLClass::T, Unimplemented(), GlobalParameterClass::Value(), and ENDLClass::write_file.

Referenced by LoadData().

LoadMF13Data mf13_file inFile  ) 
 

Parameters:
inFile file stream containing the MF=13 data
Loads the data from a MF=13 file and begins translation.

Definition at line 1098 of file load_data.cpp.

References C55, ENDL, ENDLClass::F, C55_gammas::has_MT3, C55_gammas::has_MT4, Info(), MF13_list::master(), C55_gammas::MT3_gammas, C55_gammas::MT4_gammas, pastenum(), mf13_file::read_line1(), ENDLClass::set_I_number(), ENDLClass::set_x0(), ENDLClass::T, Warning(), and ENDLClass::write_file.

Referenced by LoadData().

LoadMF1Data int  T,
mf1_file inFile
 

Parameters:
T ENDF MT number
inFile file stream containing the MF=3 data
Loads the fission data from a MF=1 file and begins translation.

Definition at line 235 of file load_data.cpp.

References LoadFissionData(), and Warning().

LoadMF3Data mf3_file inFile  ) 
 

Parameters:
inFile file stream containing the MF=3 data
Loads the data from a MF=3 file and begins translation.

Definition at line 364 of file load_data.cpp.

References ENDL, ENDLClass::F, ENDF_file::get_regions(), ENDLClass::get_resid(), Info(), dd_list::INT, LoadFissionData(), ENDLClass::Max_E_in, dd_list::NBT, pastenum(), ENDLClass::reaction(), one_d_table::read_data(), mf3_file::read_line1(), mf3_file::read_line2(), SevereError(), ENDLClass::T, dd_list::unique(), dd_list::widen_jumps(), dd_list::write_endl(), and ENDLClass::write_file.

Referenced by LoadData().

LoadMF4Data mf4_file inFile  ) 
 

Parameters:
inFile file stream containing the MF=4 data
Loads the data from a MF=4 file and begins translation.

Definition at line 420 of file load_data.cpp.

References ENDLClass::angles_CM, ENDL, two_d_isotropic::expand_data(), two_d_Legendre::expand_data(), ENDLClass::F, ENDF_file::get_regions(), ENDLClass::get_ZAP(), Info(), two_d_list< one_d_Legendre >::INT, mf4_table::master(), mixed_mf4::master(), two_d_list< one_d_Legendre >::mirror(), two_d_list< one_d_Legendre >::NBT, ENDLClass::outgoing_particle, pastenum(), mf4_file::read_line1(), mf4_file::read_line2(), mf4_file::read_line3(), two_d_list< one_d_Legendre >::renorm(), ENDLClass::res_za, ENDLClass::S, ENDLClass::set_outgoing_ZA(), SevereError(), ENDF_file::skip(), ENDLClass::T, Unimplemented(), Warning(), two_d_list< one_d_isotropic >::widen_jumps(), two_d_list< one_d_Legendre >::widen_jumps(), two_d_list< one_d_isotropic >::write_endl(), two_d_list< one_d_Legendre >::write_endl(), ENDLClass::write_file, and ENDLClass::za_to_yo().

Referenced by LoadData().

LoadMF5Data mf5_file inFile  ) 
 

Parameters:
inFile file stream containing the MF=5 data
Loads the data from a MF=5 file and begins translation.

Definition at line 542 of file load_data.cpp.

References mf5_table::duplicate_Ein, two_d_Maxwell::duplicate_Ein, two_d_evap::duplicate_Ein, two_d_Watt::duplicate_Ein, two_d_Madland::duplicate_Ein, ENDL, ENDLClass::F, ENDLClass::get_ZAP(), Info(), two_d_Maxwell::make_list(), two_d_evap::make_list(), two_d_Watt::make_list(), two_d_Madland::make_list(), add_them_up::manager(), pastenum(), mf5_table::read_data(), two_d_Maxwell::read_data(), two_d_evap::read_data(), two_d_Watt::read_data(), two_d_Madland::read_data(), mf5_file::read_line1(), mf5_file::read_line2(), two_d_list< one_d_table >::renorm(), two_d_list< one_d_Maxwell >::renorm(), two_d_list< one_d_evap >::renorm(), two_d_list< one_d_Watt >::renorm(), two_d_list< one_d_Madland >::renorm(), ENDLClass::set_outgoing_ZA(), SevereError(), ENDLClass::T, Unimplemented(), two_d_list< one_d_table >::widen_jumps(), two_d_list< one_d_Maxwell >::widen_jumps(), two_d_list< one_d_evap >::widen_jumps(), two_d_list< one_d_Watt >::widen_jumps(), two_d_list< one_d_Madland >::widen_jumps(), two_d_list< one_d_table >::write_endl(), two_d_list< one_d_Maxwell >::write_endl(), two_d_list< one_d_evap >::write_endl(), two_d_list< one_d_Watt >::write_endl(), two_d_list< one_d_Madland >::write_endl(), and ENDLClass::write_file.

Referenced by LoadData().

LoadMF6Data mf6_file inFile  ) 
 

Parameters:
inFile file stream containing the MF=6 data
Loads the data from a MF=6 file and begins translation.

Definition at line 666 of file load_data.cpp.

References ENDLClass::append, ENDLClass::C, multiplicity::check_const_mult(), ENDLClass::current_za, ENDL, three_d_Kalbach::expand_data(), phase_space::expand_data(), two_d_isotropic::expand_data(), ENDLClass::F, mf6_file::get_model(), multiplicity::get_mult(), ENDF_file::get_regions(), ENDLClass::incident_particle, Info(), dd_list::INT, three_d_list< two_d_Kalbach >::INT, mf6_Legendre::master(), gen_mf4::master(), two_d_charge::master(), dd_list::NBT, three_d_list< two_d_Kalbach >::NBT, ENDLClass::outgoing_particle, mf6_file::particle_line1(), pastenum(), multiplicity::read_data(), mf6_gammas::read_data(), ENDL_table::read_data(), mf6_file::read_line1(), three_d_Kalbach::renorm(), ENDLClass::res_za, ENDLClass::S, multiplicity::set_min_mult(), multiplicity::set_mult(), ENDLClass::set_outgoing_ZA(), SevereError(), ENDLClass::T, Unimplemented(), Warning(), dd_list::write_endl(), three_d_list< two_d_Kalbach >::write_endl(), three_d_list< two_d_phase >::write_endl(), three_d_list< two_d_ENDL_table >::write_endl(), two_d_list< one_d_isotropic >::write_endl(), ENDLClass::write_file, ENDLClass::X, ENDLClass::yo_mult(), and ENDLClass::yo_to_za().

Referenced by LoadData().

bool MF1MTExists int  MT  ) 
 

Definition at line 242 of file load_data.cpp.

References ENDF_file::open().

Referenced by LoadFissionData().


Variable Documentation

C55_gammas C55
 

Definition at line 56 of file load_data.cpp.

Referenced by LoadMF13Data(), and main().

ENDLClass ENDL
 

Definition at line 54 of file load_data.cpp.

GlobalParameterClass Global
 

Definition at line 55 of file load_data.cpp.


Generated on Thu Sep 7 10:34:12 2006 for fete -- From ENDFB6 To ENDL by doxygen 1.3.4