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

multiplicity Class Reference

Class to handle ENDF multiplicity data. More...

Inheritance diagram for multiplicity:

Inheritance graph
[legend]
Collaboration diagram for multiplicity:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 multiplicity ()
 Default constructor.

 ~multiplicity ()
 Default destructor.

double & E_gamma ()
 Label for this list for gamma multiplicities.

void read_data (int NP, ENDF_file &inFile)
 Read in and expands the multiplicity 2-column data.

bool check_const_mult ()
 Checks the multiplicity to make sure it is constant, as it should be.

bool check_const_mult (double first_mult)
 Checks the multiplicity to make sure it is constant, as it should be.

void set_min_mult (double min_mult)
void set_max_mult (double max_mult)
int get_mult ()
 Returns the constant multiplicity as may be used in an (n, Xn) reaction.

void set_mult (int mult)
 Sets the multiplicity to a constant, if we know it from another method (say the reaction MT).

void scale_by_xs ()
 Scales photon multiplicity by the cross section to get photon production.

void divide_by_xs ()
 Divides photon production by the cross section to get photon multiplicity.

void list_interp (double e_in, multiplicity &left_list, multiplicity &right_list)
 Needed to combine lists of discrete gamma multiplicities.

void check_count ()
 Used to verify that the multiplicity of a single line doesn't exceed 1.


Public Attributes

double weight

Detailed Description

This class is designed to handle the ENDF multiplicity data. It is derived from the ENDL_2_col class. Typically, the multplicity data needs to be converted to an absolute cross section so the necessary methods are included to accomplish this.

Definition at line 46 of file multiplicity.hpp.


Constructor & Destructor Documentation

multiplicity::multiplicity  )  [inline]
 

Default constructor is empty.

Definition at line 53 of file multiplicity.hpp.

References weight.

multiplicity::~multiplicity  )  [inline]
 

Default constructor is empty.

Definition at line 56 of file multiplicity.hpp.


Member Function Documentation

bool multiplicity::check_const_mult double  first_mult  ) 
 

Definition at line 86 of file multiplicity.cpp.

References ENDL_EPSILON().

bool multiplicity::check_const_mult  ) 
 

Definition at line 79 of file multiplicity.cpp.

Referenced by LoadMF6Data().

void multiplicity::check_count  ) 
 

Definition at line 205 of file multiplicity.cpp.

References Warning().

void multiplicity::divide_by_xs  ) 
 

Member function that divides the photon production cross section for a reaction by the reaction cross section to arrive at a photon multiplicity distribution for the reaction. The final distribution is thinned to global tolerance.

Definition at line 175 of file multiplicity.cpp.

References ENDL, ENDF_file::get_regions(), dd_list::INT, ENDLClass::Max_E_in, dd_list::NBT, ENDF_file::open(), one_d_table::read_data(), mf3_file::read_line1(), mf3_file::read_line2(), and ENDLClass::T.

Referenced by MF12_list::do_movers(), MF14_table::master(), MF14_list::master(), MF12_list::move_w_contin(), MF12_list::read_data(), and MF12_list::write_continuum().

double& multiplicity::E_gamma  )  [inline]
 

Reimplemented from distrib_base.

Definition at line 59 of file multiplicity.hpp.

References dd_list::tag.

Referenced by MF12_raw::one_line(), and MF13_list::read_data().

int multiplicity::get_mult  ) 
 

Definition at line 62 of file multiplicity.cpp.

References ENDL_EPSILON(), pastenum(), and Warning().

Referenced by LoadMF6Data().

void multiplicity::list_interp double  e_in,
multiplicity left_list,
multiplicity right_list
 

Definition at line 222 of file multiplicity.cpp.

References SevereError(), dd_link::x, and dd_link::y.

void multiplicity::read_data int  NP,
ENDF_file inFile
 

Parameters:
NP Number of pairwise points in section
inFile ifstream of ENDF mulitplicity data
Member function that reads in the multiplicity data and expands into linearly interpolable pointwise data.

Definition at line 51 of file multiplicity.cpp.

References ENDL, one_d_table::expand_interp(), ENDLClass::Max_E_in, one_d_table::read_data(), and ENDLClass::write_file.

Referenced by MF14_list::continuum(), MF13_list::continuum(), MF12_list::continuum(), LoadFissionData(), LoadMF6Data(), MF14_table::master(), MF13_list::master(), and MF12_base::read_mult().

void multiplicity::scale_by_xs  ) 
 

Member function that multiplies the cross section for a reaction by the photon multiplicity distribution to arrive at a photon production cross section for the reaction. The final distribution is thinned to global tolerance.

Definition at line 144 of file multiplicity.cpp.

References ENDL, ENDF_file::get_regions(), dd_list::INT, ENDLClass::Max_E_in, dd_list::NBT, ENDF_file::open(), one_d_table::read_data(), mf3_file::read_line1(), mf3_file::read_line2(), ENDLClass::T, and dd_list::thinit().

Referenced by MF14_list::master().

void multiplicity::set_max_mult double  max_mult  ) 
 

Sets a ceiling value on the multiplicity for those times where it is not constant, but a minimum value is requires

Definition at line 117 of file multiplicity.cpp.

References pastenum(), and Warning().

void multiplicity::set_min_mult double  min_mult  ) 
 

Sets a floor/ceiling value on the multiplicity for those times where it is not constant, but a minimum value is requires

Definition at line 100 of file multiplicity.cpp.

References pastenum(), and Warning().

Referenced by LoadMF6Data().

void multiplicity::set_mult int  mult  ) 
 

Sets the multiplicity to a constant, if we know it from another method (say the reaction MT)

Definition at line 134 of file multiplicity.cpp.

Referenced by LoadMF6Data().


Member Data Documentation

double multiplicity::weight
 

Reimplemented from distrib_base.

Definition at line 50 of file multiplicity.hpp.

Referenced by multiplicity().


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