Collaboration diagram for b6stream:
Public Member Functions | |
b6stream (string inputFile="endf.prepro") | |
Default constructor. | |
~b6stream () | |
Default destructor. | |
void | readENDF () |
Reads a single line from the ENDF file stream. | |
void | get_MAT_MF_MT_NS () |
int | NSUB_to_yi (int NSUB) |
computes the yi given the sublibrary designator | |
void | print_summary () |
void | print_MT_MF () |
Print all of the MT and MF values. | |
Public Attributes | |
int | NTAPE |
int | MAT |
int | NS |
int | yi |
int | date |
int | LRP |
int | LFI |
int | NLIB |
int | NMOD |
int | LIS |
int | LISO |
int | NFOR |
int | ZA |
int | NSUB |
int | NVER |
int | LDRV |
int | NWD |
int | NXC |
double | AWR |
double | ELIS |
double | STA |
double | AWI |
double | TEMP |
iMF_array_list | MT_MF_list |
string | input_file |
int | iDummy |
double | dDummy |
ifstream | Efile |
ofstream | oFile |
Private Member Functions | |
void | check_mf_mt () |
Private Attributes | |
int | MF |
int | MT |
int | prev_mf |
int | prev_mt |
string | sBuff |
bool | lofile |
bool | SEND |
bool | FEND |
bool | MEND |
bool | TEND |
bool | DONE |
bool | file_top |
This class also "breaks" the ENDF file into several smaller files. All files are unique and represent the data of every section in the file. The names of the output files reflect the MF and MT numbers and we therefore drop these values from the output stream (we also drop the material identifier and line numbering). It is these smaller reaction files that the actual translation code will use to produce ENDL files.
Definition at line 86 of file b6stream.hpp.
|
Definition at line 112 of file b6stream.cpp. References AWI, AWR, DONE, Efile, ELIS, FatalError(), FEND, file_top, Info(), input_file, LDRV, LFI, LIS, LISO, lofile, LRP, MAT, MEND, MF, MT, NFOR, NLIB, NMOD, NS, NSUB, NTAPE, NVER, NWD, NXC, prev_mf, prev_mt, readENDF(), SEND, STA, TEMP, TEND, and ZA. |
|
There are no lines of code in this destructor. Definition at line 145 of file b6stream.cpp. |
|
Definition at line 326 of file b6stream.cpp. References MF, MT, prev_mf, prev_mt, and SevereError(). Referenced by readENDF(). |
|
Reads the MAT, MF, MT and NS entries at the end of the ENDF line and then strips them from the output stream. Definition at line 336 of file b6stream.cpp. References MAT, MF, MT, NS, sBuff, and stoi(). Referenced by readENDF(). |
|
Definition at line 350 of file b6stream.cpp. References pastenum(), and SevereError(). Referenced by readENDF(). |
|
Definition at line 403 of file b6stream.cpp. References MT_MF_list. Referenced by main(). |
|
This function prints a global summary for each material based on the information in the ENDF header. Definition at line 365 of file b6stream.cpp. References AWR, ELIS, LFI, LIS, LISO, LRP, MESSAGELEVEL_INFO, NFOR, NLIB, NTAPE, NVER, pastenum(), SevereError(), STA, TEMP, Warning(), yi, and ZA. Referenced by readENDF(). |
|
This function reads the entire ENDF file in one line at a time, converting each line into numerical data, storing the global evaluation information and writing the data to smaller files whose names are derived from the ENDF file and reaction type (MF and MT). Definition at line 150 of file b6stream.cpp. References iMF_array_list::at(), AWI, AWR, check_mf_mt(), date, dDummy, DONE, Efile, ELIS, endf_file_name(), FatalError(), FEND, file_top, get_MAT_MF_MT_NS(), Global, iDummy, Info(), LDRV, LFI, LIS, LISO, lofile, LRP, MAT, MEND, MF, iMF_array_link::MT(), MT, MT_MF_list, NFOR, NLIB, NMOD, NS, NSUB, NSUB_to_yi(), NTAPE, NVER, NWD, NXC, oFile, prev_mf, prev_mt, print_summary(), read_date(), read_ddiiii(), read_idiiii(), sBuff, SEND, SevereError(), STA, TEMP, TEND, GlobalParameterClass::Value(), Warning(), yi, and ZA. Referenced by b6stream(). |
|
Projectile mass in neutron units. Referenced by b6stream(), and readENDF(). |
|
Ratio of mass of atom (or molecule) to that of the neutron. Referenced by b6stream(), main(), print_summary(), and readENDF(). |
|
Definition at line 96 of file b6stream.hpp. Referenced by main(), and readENDF(). |
|
Definition at line 111 of file b6stream.hpp. Referenced by readENDF(). |
|
Logical used to signal end of ENDF file. Referenced by b6stream(), and readENDF(). |
|
The input ENDF file stream. Referenced by b6stream(), and readENDF(). |
|
Excitation energy of the target nucleus (eV). Referenced by b6stream(), main(), print_summary(), and readENDF(). |
|
ENDF end of file marker. Referenced by b6stream(), and readENDF(). |
|
Definition at line 149 of file b6stream.hpp. Referenced by b6stream(), and readENDF(). |
|
Definition at line 110 of file b6stream.hpp. Referenced by readENDF(). |
|
Definition at line 107 of file b6stream.hpp. Referenced by b6stream(). |
|
Used to distinguish between different evaluations with the same material key. Referenced by b6stream(), and readENDF(). |
|
Indicates whether this material is fissionable. Referenced by b6stream(), print_summary(), and readENDF(). |
|
State number of the target nucleus (for materials that represent nuclides). Referenced by b6stream(), print_summary(), and readENDF(). |
|
Isomeric state number of the target nucleus. Referenced by b6stream(), print_summary(), and readENDF(). |
|
A logical that is true when there is an open output file. Referenced by b6stream(), and readENDF(). |
|
Indicates whether resolved and/or unresolved resonance parameters are given in File 2. Referenced by b6stream(), print_summary(), and readENDF(). |
|
ENDF material number. Referenced by b6stream(), get_MAT_MF_MT_NS(), and readENDF(). |
|
ENDF end of material marker. Referenced by b6stream(), and readENDF(). |
|
ENDF file number. Referenced by b6stream(), check_mf_mt(), get_MAT_MF_MT_NS(), and readENDF(). |
|
ENDF reaction type number, or, covariance file section identifier. Referenced by b6stream(), check_mf_mt(), get_MAT_MF_MT_NS(), and readENDF(). |
|
A linked list of vectors designated by reaction number, Referenced by main(), print_MT_MF(), and readENDF(). |
|
ENDF library format. Referenced by b6stream(), print_summary(), and readENDF(). |
|
ENDF library identifier. Referenced by b6stream(), print_summary(), and readENDF(). |
|
ENDF modification number. Referenced by b6stream(), and readENDF(). |
|
Number of non-principle scattering atom types, or, number of states of the radioactive product, or, number of levels below the present one, including ground state. Referenced by b6stream(), get_MAT_MF_MT_NS(), and readENDF(). |
|
ENDF sublibrary number. Referenced by b6stream(), and readENDF(). |
|
ENDF "tape" number. Referenced by b6stream(), print_summary(), and readENDF(). |
|
ENDF library version number. Referenced by b6stream(), print_summary(), and readENDF(). |
|
Number of elements in the Hollerith section. Referenced by b6stream(), and readENDF(). |
|
Referred to as NXC in the ENDF manual and is the number of sections to be found in the dictionary. Referenced by b6stream(), and readENDF(). |
|
The output file stream. Referenced by readENDF(). |
|
Definition at line 140 of file b6stream.hpp. Referenced by b6stream(), check_mf_mt(), and readENDF(). |
|
Definition at line 140 of file b6stream.hpp. Referenced by b6stream(), check_mf_mt(), and readENDF(). |
|
The ENDL data is read in line by line into this string. Referenced by get_MAT_MF_MT_NS(), and readENDF(). |
|
ENDF end of section marker. Referenced by b6stream(), and readENDF(). |
|
Target stability flag. Referenced by b6stream(), print_summary(), and readENDF(). |
|
Target temperature in degrees Kelvin. Referenced by b6stream(), main(), print_summary(), and readENDF(). |
|
ENDF end of tape marker. Referenced by b6stream(), and readENDF(). |
|
Definition at line 96 of file b6stream.hpp. Referenced by main(), print_summary(), and readENDF(). |
|
Designation of the original nuclide ( Referenced by b6stream(), main(), print_summary(), and readENDF(). |