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

record_types.hpp File Reference

contains the string to numerous format block prototypes More...

Include dependency graph for record_types.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void read_ddiiii (string *pS, double *pR1, double *pR2, int *pI1, int *pI2, int *pI3, int *pI4)
 Converts a string with a format of double, double, int, int, int, int into numbers.

void read_idiiii (string *pS, int *pI1, double *pR2, int *pI2, int *pI3, int *pI4, int *pI5)
 Converts a string with a format of int, double, int, int, int, int into numbers.

void read_iiidiiddd (string *pS, int *pI1, int *pI2, int *pI3, double *pR1, int *pI4, int *pI5, double *pR2, double *pR3, double *pR4)
 Converts a string with a format of int, int, int, double, int, int, double, double, double.

void read_iiiddddd (string *pS, int *pI1, int *pI2, int *pI3, double *pR1, double *pR2, double *pR3, double *pR4, double *pR5)
 Cpnverts a string with format of int, int, int, double, double, double, double, double.

void read_d (string *pS, double *pR)
 Converts a string with a format of double into a double.

void read_dd (string *pS, double *pR1, double *pR2)
 Converts a string with a format of double, double into numbers.

void read_ddd (string *pS, double *pR1, double *pR2, double *pR3)
 Converts a string with a format of 3 doubles into numbers.

void read_dddddd (string *pS, double *pR1, double *pR2, double *pR3, double *pR4, double *pR5, double *pR6)
 Converts a string with a format of 6 doubles into numbers.

void read_ii (string *pS, int *pI1, int *pI2)
 Converts a string with a format of int, int into numbers.

void read_date (string *pS, int *pI1)
 Finds the date in line 5 of the ENDF file.

int read_yi (string *pS)
 Gets the incident particle from line 8 of the ENDF file.


Detailed Description

Definition in file record_types.hpp.


Function Documentation

void read_d string *  pS,
double *  pR
 

Parameters:
pS Input string to be converted
Return values:
pR First eleven characters in string pS converted to a double
This function converts the first eleven characters of a string into a double precision number. This is the typical ENDF format for floating point numbers.

Definition at line 107 of file record_types.cpp.

References stod().

Referenced by two_d_Legendre::one_E_in(), gen_mf4::one_legendre(), Legendre_item::read_coefs(), one_d_charge::read_data(), MF14_list::read_Legendre(), fission_delay::read_mf1(), and ENDF_file::skip().

void read_date string *  pS,
int *  pI1
 

Definition at line 147 of file record_types.cpp.

References SevereError(), stoi(), and toupper().

Referenced by b6stream::readENDF().

void read_dd string *  pS,
double *  pR1,
double *  pR2
 

Parameters:
pS Input string to be converted
Return values:
pR1 First eleven characters in pS string returned as a double
pR2 Second set of eleven characters in pS string returned as a double
This function converts a string representing two floating point numbers and converts it into two double precision numbers. This is a very common pointwise data format in ENDF.

Definition at line 113 of file record_types.cpp.

References stod().

Referenced by MF15_list::one_e_dist(), ENDL_table::one_E_in(), mf6_table::one_E_in(), mf5_table::one_E_in(), mf4_table::one_E_in(), fission_delay::one_gen_evap(), MF14_list::one_line(), MF12_raw::one_line(), fission_delay::one_mult(), gen_mf4::one_table(), Legendre_list::read_data(), two_d_Madland::read_data(), two_d_Watt::read_data(), two_d_Maxwell::read_data(), two_d_evap::read_data(), MF12_deexcite::read_data(), dd_list::read_data(), one_d_table::read_data(), one_d_charge::read_data(), fission_delay::read_mf1(), and one_d_charge::read_table().

void read_ddd string *  pS,
double *  pR1,
double *  pR2,
double *  pR3
 

Definition at line 120 of file record_types.cpp.

References stod().

Referenced by MF12_deexcite::read_data().

void read_dddddd string *  pS,
double *  pR1,
double *  pR2,
double *  pR3,
double *  pR4,
double *  pR5,
double *  pR6
 

Definition at line 128 of file record_types.cpp.

References stod().

Referenced by mt458_file::read_data().

void read_ddiiii string *  pS,
double *  pR1,
double *  pR2,
int *  pI1,
int *  pI2,
int *  pI3,
int *  pI4
 

Parameters:
pS Input string to be converted
Return values:
pR1 First eleven characters in pS string returned as a double
pR2 Second set of eleven characters in pS string returned as a double
pI1 Third set of eleven characters in pS string returned as an integer
pI2 Fourth set of eleven characters in pS string returned as an integer
pI3 Fifth set of eleven characters in pS string returned as an integer
pI4 Sixth set of eleven characters in pS string returned as an integer
This function converts a string containing six numbers to two floating point numbers followed by four integers. This is a very common header line format in ENDF.

Definition at line 50 of file record_types.cpp.

References stod(), and stoi().

Referenced by ENDF_file::mfx_line2(), mf5_table::one_E_in(), mf4_table::one_E_in(), two_d_Legendre::one_E_in(), three_d_Kalbach::read_data(), and b6stream::readENDF().

void read_idiiii string *  pS,
int *  pI1,
double *  pR1,
int *  pI2,
int *  pI3,
int *  pI4,
int *  pI5
 

Parameters:
pS Input string to be converted
Return values:
pI1 First eleven characters in pS string returned as an integer
pR1 Second set of eleven characters in pS string returned as a double
pI2 Third set of eleven characters in pS string returned as an integer
pI3 Fourth set of eleven characters in pS string returned as an integer
pI4 Fifth set of eleven characters in pS string returned as an integer
pI5 Sixth set of eleven characters in pS string returned as an integer
This function converts a string containing six numbers to an integer, a floating point number followed by four more integers. This is a very common header line format in ENDF.

Definition at line 62 of file record_types.cpp.

References stod(), and stoi().

Referenced by ENDF_file::mfx_line1(), and b6stream::readENDF().

void read_ii string *  pS,
int *  pI1,
int *  pI2
 

Parameters:
pS Input string to be converted
Return values:
pI1 First eleven characters in pS string returned as an integer
pI2 Second set of eleven characters in pS string returned as an integer
This function converts a string representing two integer numbers and converts it into two integer numbers. This is a very common format in ENDF TAB structures.

Definition at line 140 of file record_types.cpp.

References stoi().

Referenced by ENDF_file::get_regions().

void read_iiiddddd string *  pS,
int *  pI1,
int *  pI2,
int *  pI3,
double *  pR1,
double *  pR2,
double *  pR3,
double *  pR4,
double *  pR5
 

Definition at line 92 of file record_types.cpp.

References stod(), and stoi().

void read_iiidiiddd string *  pS,
int *  pI1,
int *  pI2,
int *  pI3,
double *  pR1,
int *  pI4,
int *  pI5,
double *  pR2,
double *  pR3,
double *  pR4
 

Definition at line 75 of file record_types.cpp.

References stod(), and stoi().

int read_yi string *  pS  ) 
 

Definition at line 218 of file record_types.cpp.

References SevereError(), and toupper().


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