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

add_them_up Class Reference

Class to manage the addition of weighted models.

Inheritance diagram for add_them_up:

Inheritance graph
[legend]
Collaboration diagram for add_them_up:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 add_them_up (int NK)
 Constructor for NK sets of data.

 ~add_them_up ()
 Destructor.

void manager (mf5_file &inFile)
 Manages all of the output models.

void one_model (mf5_file &inFile)
 Handles one output model.

void common_Ein ()
 Ensures that all lists have common incident energies.

void wt_add ()
 Adds the lists to get the weighted sum.


Private Member Functions

void check_total_wt ()
 Checks that the total weight is 1.


Private Attributes

mf5_tabletable_vec
two_d_evapevap_vec
two_d_MaxwellMaxwell_vec
two_d_WattWatt_vec
two_d_MadlandMadland_vec
int NK_
int num_table
int num_evap
int num_Maxwell
int num_Watt
int num_Madland
bool debug_

Constructor & Destructor Documentation

add_them_up::add_them_up int  NK  ) 
 

Definition at line 858 of file mf5classes.cpp.

References debug_, evap_vec, Madland_vec, Maxwell_vec, NK_, num_evap, num_Madland, num_Maxwell, num_table, num_Watt, table_vec, and Watt_vec.

add_them_up::~add_them_up  ) 
 

Default destructor deletes the "model_vec" array.

Definition at line 879 of file mf5classes.cpp.

References evap_vec, Madland_vec, Maxwell_vec, num_evap, num_Madland, num_Maxwell, num_table, num_Watt, table_vec, and Watt_vec.


Member Function Documentation

void add_them_up::check_total_wt  )  [private]
 

Definition at line 1139 of file mf5classes.cpp.

References EPS, Global, pastenum(), GlobalParameterClass::Value(), and Warning().

Referenced by manager().

void add_them_up::common_Ein  ) 
 

Definition at line 1006 of file mf5classes.cpp.

References two_d_list< one_d_Madland >::collect_Ein(), two_d_list< one_d_Watt >::collect_Ein(), two_d_list< one_d_Maxwell >::collect_Ein(), two_d_list< one_d_evap >::collect_Ein(), two_d_list< one_d_table >::collect_Ein(), evap_vec, two_d_list< one_d_Madland >::fill_in_list(), two_d_list< one_d_Watt >::fill_in_list(), two_d_list< one_d_Maxwell >::fill_in_list(), two_d_list< one_d_evap >::fill_in_list(), two_d_list< one_d_table >::fill_in_list(), Madland_vec, Maxwell_vec, num_evap, num_Madland, num_Maxwell, num_table, num_Watt, table_vec, and Watt_vec.

Referenced by manager().

void add_them_up::manager mf5_file inFile  ) 
 

Definition at line 904 of file mf5classes.cpp.

References check_total_wt(), common_Ein(), ENDL, NK_, one_model(), two_d_list< one_d_table >::renorm(), two_d_list< one_d_table >::widen_jumps(), two_d_list< one_d_table >::write_endl(), ENDLClass::write_file, and wt_add().

Referenced by LoadMF5Data().

void add_them_up::one_model mf5_file inFile  ) 
 

Definition at line 932 of file mf5classes.cpp.

References evap_vec, Madland_vec, Maxwell_vec, num_evap, num_Madland, num_Maxwell, num_table, num_Watt, pastenum(), mf5_file::read_line2(), SevereError(), table_vec, Warning(), and Watt_vec.

Referenced by manager().

void add_them_up::wt_add  ) 
 

Definition at line 1061 of file mf5classes.cpp.

References two_d_list< one_d_table >::copy_data(), evap_vec, Madland_vec, Maxwell_vec, num_evap, num_Madland, num_Maxwell, num_table, num_Watt, sum_lists(), table_vec, two_d_list< one_d_table >::use_weight(), and Watt_vec.

Referenced by manager().


Member Data Documentation

add_them_up::debug_ [private]
 

Debugging flag to test the multiple models.

Referenced by add_them_up().

two_d_evap* add_them_up::evap_vec [private]
 

Definition at line 236 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

two_d_Madland* add_them_up::Madland_vec [private]
 

Definition at line 239 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

two_d_Maxwell* add_them_up::Maxwell_vec [private]
 

Definition at line 237 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

int add_them_up::NK_ [private]
 

Definition at line 241 of file mf5classes.hpp.

Referenced by add_them_up(), and manager().

int add_them_up::num_evap [private]
 

Definition at line 245 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

int add_them_up::num_Madland [private]
 

Definition at line 248 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

int add_them_up::num_Maxwell [private]
 

Definition at line 246 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

int add_them_up::num_table [private]
 

Definition at line 244 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

int add_them_up::num_Watt [private]
 

Definition at line 247 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

mf5_table* add_them_up::table_vec [private]
 

Definition at line 235 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().

two_d_Watt* add_them_up::Watt_vec [private]
 

Definition at line 238 of file mf5classes.hpp.

Referenced by add_them_up(), common_Ein(), one_model(), wt_add(), and ~add_them_up().


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