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

two_d_list< one_d > Class Template Reference

2d list template composed of 2d links More...

Inheritance diagram for two_d_list< one_d >:

Inheritance graph
[legend]
Collaboration diagram for two_d_list< one_d >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef list< one_d >::iterator two_d_iterator

Public Member Functions

 two_d_list ()
 Default constructor.

double & E_in ()
 The usual tag for this list.

double & E_gamma ()
 The tag for mf14 gamma data.

void print ()
 Simple printing utility.

void rescale ()
 Scale the energies of the emitted particle from [0, 1].

void renorm ()
 Normalize probabilities such that integrated probability is unity.

void set_up_endl (int i_number, fstream &endl_file)
 set up and open an ENDL file

void close_file (fstream &endl_file)
 close an ENDL file

void write_endl (int i_number)
 Open an ENDL file and write the data.

void out_data (int i_number, fstream &endl_file, double L_order)
 Writes out the ENDL data.

void mirror ()
 Used to reflect all of the lists mu -> -mu.

void widen_jumps (double cluster_min=0.0)
void widen_cluster (two_d_iterator cluster_start, two_d_iterator cluster_end, int cluster_size, double jump_width, double cluster_min)
 Utility code used by widen_jumps.

void weight_jumps ()
 Insert 1-d lists where the weight has jumps.

void thinit ()
 Thins the member lists to within some tolerance.

void thicken ()
 Expands a list to some tolerance.

void set_interp ()
 Sets the interpolation type for each list.

void chop_highE (double Max_energy)
 Truncates list to the maximum incident energy, E_max.

bool check_interp (two_d_iterator left_list)
 Checks the accuracy of linear interpolation.

void collect_Ein (list< double > &E_incident)
 Ensures that E_incident contains every incident energy.

template<class One_d> void copy_data (two_d_list< One_d > &copy_from)
 copies the weights and the tabular data

void fill_in_list (list< double > &fill_from)
 Insures that 2d list has a link for each "E_in" in fill_from.

void use_weight ()
 Scales the 1-d lists by their weights.


Public Attributes

vector< int > NBT
 Contains the interpolation regions.

vector< int > INT
 Contains the interpolation type for each region.


Protected Attributes

dd_list _weight
 weight for this model


Private Attributes

bool debug_on
 for checking the 2-d interpolation

double tol_2d
 tolerance for 2-d interpolation

double cut_off_2d
 below this value ignore tolerance

double dE_tol
 minimum relative difference in incident energy

double _tag
bool _unit_base

Detailed Description

template<class one_d>
class two_d_list< one_d >

This class was written to list the lists of outgoing distributions as a function of incident neutron energy.

Definition at line 55 of file list_2d.hpp.


Member Typedef Documentation

template<class one_d>
typedef list<one_d>::iterator two_d_list< one_d >::two_d_iterator
 

Definition at line 72 of file list_2d.hpp.


Constructor & Destructor Documentation

template<class one_d>
two_d_list< one_d >::two_d_list  )  [inline]
 

Default constructor sets the tolerances from the GlobalParameters and set the debugging flag.

Definition at line 75 of file list_2d.hpp.


Member Function Documentation

template<class one_d>
two_d_list< one_d >::check_interp two_d_iterator  left_list  )  [inline]
 

Parameters:
left_list Member function that test the accuracy of linear interpolation from the link given to the next. If the global tolerance "tol_2d" is not met, insert a new link that meets the tolerance requirement.

Definition at line 489 of file list_2d.hpp.

Referenced by two_d_list< multiplicity >::thicken().

template<class one_d>
two_d_list< one_d >::chop_highE double  Max_energy  )  [inline]
 

Parameters:
Max_energy Member function that removes links from the list from incident energies that are above the given "Max_energy".

Definition at line 470 of file list_2d.hpp.

template<class one_d>
void two_d_list< one_d >::close_file fstream &  endl_file  )  [inline]
 

Definition at line 175 of file list_2d.hpp.

Referenced by two_d_list< multiplicity >::write_endl().

template<class one_d>
void two_d_list< one_d >::collect_Ein list< double > &  E_incident  )  [inline]
 

Definition at line 614 of file list_2d.hpp.

template<class one_d>
template<class One_d>
void two_d_list< one_d >::copy_data two_d_list< One_d > &  copy_from  )  [inline]
 

Definition at line 628 of file list_2d.hpp.

template<class one_d>
double& two_d_list< one_d >::E_gamma  )  [inline]
 

Definition at line 95 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::E_in  )  [inline]
 

Returns the incident energy of a list.

Definition at line 89 of file list_2d.hpp.

Referenced by two_d_list< multiplicity >::copy_data(), sum_lines(), sum_lists(), and three_d_link< one_d_phase >::write_endl_link().

template<class one_d>
void two_d_list< one_d >::fill_in_list list< double > &  fill_from  )  [inline]
 

Definition at line 654 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::mirror  )  [inline]
 

Member function that creates a mirror image of an angular distribution.

Definition at line 238 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::out_data int  i_number,
fstream &  endl_file,
double  L_order
[inline]
 

Parameters:
i_number 
endl_file 
L_order Member function that writes the data out into an ENDL file.

Definition at line 205 of file list_2d.hpp.

Referenced by two_d_list< multiplicity >::write_endl().

template<class one_d>
two_d_list< one_d >::print  )  [inline]
 

Member function that prints a two_d_list.

Reimplemented in MF12_deexcite.

Definition at line 107 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::renorm void   )  [inline]
 

Member function that rescales the probablilities to insure that the ENDL integrated probability requirements are met.

Definition at line 133 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::rescale  )  [inline]
 

Member function that scales the given emitted particle's energy from [0,1]. It is used in the unit based interpolation to the physical values.

Definition at line 121 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::set_interp  )  [inline]
 

This member function sets the interpolation type for a given list.

Definition at line 446 of file list_2d.hpp.

template<class one_d>
void two_d_list< one_d >::set_up_endl int  i_number,
fstream &  endl_file
[inline]
 

Definition at line 145 of file list_2d.hpp.

Referenced by two_d_list< multiplicity >::write_endl().

template<class one_d>
two_d_list< one_d >::thicken  )  [inline]
 

Member function that thickens a list to a global tolerance.

Definition at line 414 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::thinit  )  [inline]
 

Member function that will thin a list to the tolerance specified in GlobalParameterClass. However, there is no code written for this function yet.

Definition at line 403 of file list_2d.hpp.

Referenced by sum_lists().

template<class one_d>
two_d_list< one_d >::use_weight  )  [inline]
 

Function to scale 1d lists by their weights.

Definition at line 733 of file list_2d.hpp.

template<class one_d>
void two_d_list< one_d >::weight_jumps  )  [inline]
 

Definition at line 355 of file list_2d.hpp.

template<class one_d>
void two_d_list< one_d >::widen_cluster two_d_iterator  cluster_start,
two_d_iterator  cluster_end,
int  cluster_size,
double  jump_width,
double  cluster_min
[inline]
 

Definition at line 300 of file list_2d.hpp.

Referenced by two_d_list< multiplicity >::widen_jumps().

template<class one_d>
void two_d_list< one_d >::widen_jumps double  cluster_min = 0.0  )  [inline]
 

Widens the jumps for each member 1-d list and for the main 2d list

Definition at line 251 of file list_2d.hpp.

template<class one_d>
two_d_list< one_d >::write_endl int  i_number  )  [inline]
 

Parameters:
i_number Memebr function that creates an ENDL file from the member data.

Definition at line 187 of file list_2d.hpp.


Member Data Documentation

template<class one_d>
two_d_list< one_d >::_tag [private]
 

used with double differential data switch for type of interpolation to be used

Referenced by two_d_list< multiplicity >::E_gamma(), two_d_list< multiplicity >::E_in(), and two_d_list< multiplicity >::two_d_list().

template<class one_d>
two_d_list< one_d >::_unit_base [private]
 

Boolean for determining whether to use unit based interpolation (true) or equiprobable bins (false).

Referenced by two_d_list< multiplicity >::two_d_list().

template<class one_d>
two_d_list< one_d >::_weight [protected]
 

Model weights.

Referenced by two_d_list< multiplicity >::check_interp(), two_d_list< multiplicity >::fill_in_list(), and two_d_list< multiplicity >::weight_jumps().

template<class one_d>
two_d_list< one_d >::cut_off_2d [private]
 

Below this absolute value, we do not enforce tolerance requirements.

Referenced by two_d_list< multiplicity >::check_interp(), and two_d_list< multiplicity >::two_d_list().

template<class one_d>
two_d_list< one_d >::dE_tol [private]
 

The minimum relative difference in the incident energy below which we do not enforce tolerance requirements.

Referenced by two_d_list< multiplicity >::check_interp(), and two_d_list< multiplicity >::two_d_list().

template<class one_d>
two_d_list< one_d >::debug_on [private]
 

Flag used to debug the 2-d interpolation.

Referenced by two_d_list< multiplicity >::check_interp(), and two_d_list< multiplicity >::two_d_list().

template<class one_d>
two_d_list< one_d >::INT
 

This vector holds the ENDF numeric interpolation flags to be used in each interpolation region.

Referenced by two_d_list< multiplicity >::set_interp().

template<class one_d>
two_d_list< one_d >::NBT
 

This vector holds the interpolation regions.

Referenced by two_d_list< multiplicity >::set_interp().

template<class one_d>
two_d_list< one_d >::tol_2d [private]
 

The tolerance for the 2-d interpolation

Referenced by two_d_list< multiplicity >::check_interp(), and two_d_list< multiplicity >::two_d_list().


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