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

one_d_Watt Class Reference

Used for the Watt model at one incident neutron energy. More...

Inheritance diagram for one_d_Watt:

Inheritance graph
[legend]
Collaboration diagram for one_d_Watt:

Collaboration graph
[legend]
List of all members.

Public Member Functions

double f (double E)
 one_d_Watt ()
 ~one_d_Watt ()
void set_EUa (double e_in, double U, double a)
 Sets parameters E_in, U, and a.

void intermediate_b (double e_in, double U, double a, int a_interp, double b, int b_interp)
 Sets up a list for b between 2 incident energies.

void same_b (double b, int b_interp)
 Sets up a list for b at an incident energy.

void initiate ()
 Fills out the list.

void extrema ()
 Puts in a link at the maximum.

void copy (one_d_Watt &list_2)
 Copies a list.

void list_interp (double e_in, one_d_Watt &left_list, one_d_Watt &right_list)
 Interpolates this list between left_list and right_list.


Public Attributes

int interp_type_b

Private Attributes

double a_
double b_
double U_

Detailed Description

Class that handles the specifics of the energy dependent Watt spectrum.

Definition at line 142 of file distrib_1d.hpp.


Constructor & Destructor Documentation

one_d_Watt::one_d_Watt  ) 
 

Sets up the interpolation method, either based on most probable bins (default) or pointwise tolerances.

Definition at line 742 of file distrib_1d.cpp.

one_d_Watt::~one_d_Watt  )  [inline]
 

Empty destructor.

Definition at line 158 of file distrib_1d.hpp.


Member Function Documentation

void one_d_Watt::copy one_d_Watt list_2  ) 
 

Definition at line 886 of file distrib_1d.cpp.

References a_, b_, dd_list::copy(), distrib_base::interp_type, U_, and distrib_base::weight.

void one_d_Watt::extrema  ) 
 

Starts a list by inserting links at 0, the maximum energy and the maximum probability.

Definition at line 851 of file distrib_1d.cpp.

References a_, b_, f(), dd_list::max_E_out, Watt_max(), dd_link::y, and dd_list::zeroin().

Referenced by initiate().

double one_d_Watt::f double  E_out  )  [virtual]
 

Parameters:
E_out the energy of the outgoing particle
The energy dependent Watt spectrum is a probability density function,

\[ f(E \rightarrow E') = \exp(-E'/a) \sinh(\sqrt{bE'}), 0 \le E' \le E-U \]

, where $ E' $ is the outgoing particle energy, $ E $ is an incident neutron energy, $ a $ and $ b $ are spectrum parameters and $ U $ is an upper energy limit for an emitted particle. This member function delivers the value of the probability function at the given outgoing particle energy for the parameters at the relevant incident neutron energy.

Implements distrib_base.

Definition at line 897 of file distrib_1d.cpp.

References a_, b_, dd_list::max_E_out, pastenum(), and Warning().

Referenced by extrema().

void one_d_Watt::initiate  ) 
 

Fills in the list based on the current parameter values.

Definition at line 819 of file distrib_1d.cpp.

References distrib_base::bin_interp, extrema(), distrib_base::get_bins(), Global, dd_list::max_E_out, distrib_base::renorm(), distrib_base::thicken(), GlobalParameterClass::Value(), dd_link::x, and dd_link::y.

Referenced by intermediate_b(), and same_b().

void one_d_Watt::intermediate_b double  e_in,
double  U,
double  a,
int  a_interp,
double  b,
int  b_interp
 

Begins the process of generating data for intermediate values of parameter b.

Definition at line 775 of file distrib_1d.cpp.

References a_, b_, dd_list::E_in(), ENDL, Global, initiate(), distrib_base::interp_type, interp_type_b, ENDLClass::Max_E_out, dd_list::max_E_out, dd_list::min_E_out, ENDLClass::threshold, U_, and GlobalParameterClass::Value().

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

Parameters:
e_in the incident energy to which we want to interpolate to
left_list a list above the one we wish to interpolate to
right_list a list below the one we wish to interpolate to
Interpolates a list at e_in between the given left and right lists.

Definition at line 916 of file distrib_1d.cpp.

References a_, b_, dd_list::E_in(), distrib_base::interp_type, interp_type_b, Lin_Lin(), Lin_Log(), Log_Lin(), Log_Log(), pastenum(), same_b(), set_EUa(), SevereError(), U_, and Unimplemented().

void one_d_Watt::same_b double  b,
int  b_interp
 

Sets up a list for a given value of parameter b.

Definition at line 809 of file distrib_1d.cpp.

References b_, initiate(), and interp_type_b.

Referenced by list_interp().

void one_d_Watt::set_EUa double  e_in,
double  U,
double  a
 

Parameters:
e_in the incident neutron energy
U the integration cut-off parameter
a one of the Watt spectrum parameters
Used to set the most set these parameters.

Definition at line 746 of file distrib_1d.cpp.

References a_, dd_list::E_in(), ENDL, Global, ENDLClass::Max_E_out, dd_list::max_E_out, dd_list::min_E_out, ENDLClass::threshold, U_, and GlobalParameterClass::Value().

Referenced by list_interp().


Member Data Documentation

one_d_Watt::a_ [private]
 

Watt spectrum parameter.

Referenced by copy(), extrema(), f(), intermediate_b(), list_interp(), and set_EUa().

one_d_Watt::b_ [private]
 

Watt spectrum parameter.

Referenced by copy(), extrema(), f(), intermediate_b(), list_interp(), and same_b().

one_d_Watt::interp_type_b
 

Interpolation method for Watt spectrum parameter b.

Referenced by intermediate_b(), list_interp(), and same_b().

one_d_Watt::U_ [private]
 

Parameter that defines the upper energy limit for a secondary neutron (eV).

Referenced by copy(), intermediate_b(), list_interp(), and set_EUa().


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