Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

sig_helper3.C File Reference

#include "sigma3.h"
#include "pvm_scatt.h"

Go to the source code of this file.

Defines

#define output_header_1
#define output_header_2
#define output_header_3
#define output_header_4
#define N_SIGMA3_ARR   (N_FINAL - 6)
#define N_SIGMA3_NM_ARR   (N_FINAL - 1)
#define N_TEMP   36
#define N_INDENT   17

Functions

void print_profile (ostream &s, scatter_profile &p, int prec)
void make_standard_profile (scatter_profile &prof)
void prof_to_init (scatter_profile &prof, initial_state3 &init)
int n_coll (int n_hits[N_INTER][N_FINAL][N_RHO_ZONE_MAX], int i_max)
void print_sigma3_counts (int n_hits[N_INTER][N_FINAL][N_RHO_ZONE_MAX], int i_max)
local void print_formatted (real x)
local void print_error (real x)
void print_sigma3_array (real sigma[N_INTER][N_FINAL], real scale_factor, int sqrt_flag)
void print_sigma3_err_array (real sigma_err_sq[N_INTER][N_FINAL], real scale_factor)
void print_sigma3_nonmergers (real sigma[N_INTER][N_FINAL], real sigma_err_sq[N_INTER][N_FINAL], real v2)
void print_sigma3_mergers (real sigma[N_INTER][N_FINAL], real sigma_err_sq[N_INTER][N_FINAL], real v2)
local void create_temp (char *temp, int length, char *string)
void print_sigma3 (sigma_out &out, real v2)
void print_all_sigma3_counts (sigma_out &out, ostream &s)
real zone_area (sigma_out &out, int i)
real zone_density (sigma_out &out, int i)
real zone_weight (sigma_out &out, int i)
void counts_to_sigma (sigma_out &out)
local void print_status (real v_inf, sigma_out &out, int debug)
void summarize_scattering_initial (initial_state3 &init, int n_rand, real dt_snap, real snap_cube_size)
void summarize_scattering_final (intermediate_state3 &inter, final_state3 &final, int level, real cpu)
void single_scatter_init (scatter_profile &prof, real rho_sq_min, real rho_sq_max, initial_state3 &init, int &n_rand, int scatter_summary, real dt_snap, real snap_cube_size)
int single_scatter (initial_state3 &init, intermediate_state3 &inter, final_state3 &final, real cpu_time_check, real dt_snap, real snap_cube_size)
void single_scatter_stats (scatter_profile &prof, initial_state3 &init, intermediate_state3 &inter, final_state3 &final, int rho_bin_index, sigma_out &out, stat_fp acc_stats, int result)
void get_sigma3 (real max_trial_density, scatter_profile &prof, sigma_out &out, int debug, real cpu_time_check, real dt_snap, real snap_cube_size, int scatter_summary_flag, stat_fp acc_stats, print_fp print)
void get_sigma3 (real max_trial_density, scatter_profile &prof, sigma_out &out, int debug, real cpu_time_check, real dt_snap, real snap_cube_size, int scatter_summary_flag)
void get_sigma3 (real max_trial_density, scatter_profile &prof, sigma_out &out, int debug, real cpu_time_check, real dt_snap, real snap_cube_size, int scatter_summary_flag, stat_fp acc_stats)
void get_sigma3 (real max_trial_density, scatter_profile &prof, sigma_out &out, int debug, real cpu_time_check, real dt_snap, real snap_cube_size, int scatter_summary_flag, print_fp print)

Variables

char dummy_string [20]
real max_t = 0
real max_err = 0


Define Documentation

#define N_INDENT   17
 

#define N_SIGMA3_ARR   (N_FINAL - 6)
 

Definition at line 292 of file sig_helper3.C.

#define N_SIGMA3_NM_ARR   (N_FINAL - 1)
 

Definition at line 341 of file sig_helper3.C.

#define N_TEMP   36
 

#define output_header_1
 

Value:

  "   pres   exch    ion merg_b merg_e merg_3  error   stop unknown\n"

Definition at line 184 of file sig_helper3.C.

#define output_header_2
 

Value:

  "   pres   exch   ion  merg_b merg_e merg_3  error   stop\n"

Definition at line 187 of file sig_helper3.C.

#define output_header_3
 

Value:

  "   pres  exch1  exch2    ion  error   stop\n"

Definition at line 190 of file sig_helper3.C.

#define output_header_4
 

Value:

  "  mrg_b1 mrg_b2 mrg_b3 mrg_e1 mrg_e2 mrg_e3 3coll\n"

Definition at line 193 of file sig_helper3.C.


Function Documentation

void counts_to_sigma ( sigma_out & out )
 

Definition at line 536 of file sig_helper3.C.

Referenced by accumulate_stats(), get_sigma(), get_sigma3(), and print_status().

local void create_temp ( char * temp,
int length,
char * string )
 

Definition at line 403 of file sig_helper3.C.

Referenced by print_sigma3().

void get_sigma3 ( real max_trial_density,
scatter_profile & prof,
sigma_out & out,
int debug,
real cpu_time_check,
real dt_snap,
real snap_cube_size,
int scatter_summary_flag,
print_fp print )
 

Definition at line 953 of file sig_helper3.C.

Referenced by get_sigma3(), and main().

void get_sigma3 ( real max_trial_density,
scatter_profile & prof,
sigma_out & out,
int debug,
real cpu_time_check,
real dt_snap,
real snap_cube_size,
int scatter_summary_flag,
stat_fp acc_stats )
 

Definition at line 934 of file sig_helper3.C.

void get_sigma3 ( real max_trial_density,
scatter_profile & prof,
sigma_out & out,
int debug,
real cpu_time_check,
real dt_snap,
real snap_cube_size,
int scatter_summary_flag )
 

Definition at line 917 of file sig_helper3.C.

void get_sigma3 ( real max_trial_density,
scatter_profile & prof,
sigma_out & out,
int debug,
real cpu_time_check,
real dt_snap,
real snap_cube_size,
int scatter_summary_flag,
stat_fp acc_stats,
print_fp print )
 

Definition at line 775 of file sig_helper3.C.

void make_standard_profile ( scatter_profile & prof )
 

Definition at line 70 of file sig_helper3.C.

Referenced by main().

int n_coll ( int n_hits[N_INTER][N_FINAL][N_RHO_ZONE_MAX],
int i_max )
 

Definition at line 168 of file sig_helper3.C.

Referenced by print_sigma(), and print_sigma3().

void print_all_sigma3_counts ( sigma_out & out,
ostream & s )
 

Definition at line 489 of file sig_helper3.C.

Referenced by accumulate_stats(), and main().

local void print_error ( real x )
 

Definition at line 276 of file sig_helper3.C.

Referenced by print_sigma3_mergers(), print_sigma3_nonmergers(), print_sigma_mergers(), and print_sigma_nonmergers().

local void print_formatted ( real x )
 

Definition at line 251 of file sig_helper3.C.

Referenced by print_sigma3_array(), print_sigma3_mergers(), print_sigma3_nonmergers(), print_sigma_array(), print_sigma_mergers(), and print_sigma_nonmergers().

void print_profile ( ostream & s,
scatter_profile & p,
int prec = 6 )
 

Definition at line 18 of file sig_helper3.C.

Referenced by main().

void print_sigma3 ( sigma_out & out,
real v2 )
 

Definition at line 411 of file sig_helper3.C.

Referenced by accumulate_stats(), and main().

void print_sigma3_array ( real sigma[N_INTER][N_FINAL],
real scale_factor,
int sqrt_flag )
 

Definition at line 294 of file sig_helper3.C.

Referenced by print_sigma3(), and print_sigma3_err_array().

void print_sigma3_counts ( int n_hits[N_INTER][N_FINAL][N_RHO_ZONE_MAX],
int i_max )
 

Definition at line 204 of file sig_helper3.C.

Referenced by print_sigma3().

void print_sigma3_err_array ( real sigma_err_sq[N_INTER][N_FINAL],
real scale_factor )
 

Definition at line 335 of file sig_helper3.C.

void print_sigma3_mergers ( real sigma[N_INTER][N_FINAL],
real sigma_err_sq[N_INTER][N_FINAL],
real v2 )
 

Definition at line 373 of file sig_helper3.C.

Referenced by dump_stats(), and print_sigma3().

void print_sigma3_nonmergers ( real sigma[N_INTER][N_FINAL],
real sigma_err_sq[N_INTER][N_FINAL],
real v2 )
 

Definition at line 343 of file sig_helper3.C.

Referenced by print_sigma3().

local void print_status ( real v_inf,
sigma_out & out,
int debug )
 

Definition at line 576 of file sig_helper3.C.

void prof_to_init ( scatter_profile & prof,
initial_state3 & init )
 

Definition at line 100 of file sig_helper3.C.

Referenced by single_scatter_init().

int single_scatter ( initial_state3 & init,
intermediate_state3 & inter,
final_state3 & final,
real cpu_time_check,
real dt_snap,
real snap_cube_size )
 

Definition at line 687 of file sig_helper3.C.

Referenced by multiscatter3(), single_scatter(), and slave_part_of_experiment().

void single_scatter_init ( scatter_profile & prof,
real rho_sq_min,
real rho_sq_max,
initial_state3 & init,
int & n_rand,
int scatter_summary,
real dt_snap,
real snap_cube_size )
 

Definition at line 662 of file sig_helper3.C.

Referenced by multiscatter3().

void single_scatter_stats ( scatter_profile & prof,
initial_state3 & init,
intermediate_state3 & inter,
final_state3 & final,
int rho_bin_index,
sigma_out & out,
stat_fp acc_stats,
int result )
 

Definition at line 717 of file sig_helper3.C.

Referenced by master_process(), and multiscatter3().

void summarize_scattering_final ( intermediate_state3 & inter,
final_state3 & final,
int level,
real cpu )
 

Definition at line 640 of file sig_helper3.C.

Referenced by multiscatter3().

void summarize_scattering_initial ( initial_state3 & init,
int n_rand,
real dt_snap,
real snap_cube_size )
 

Definition at line 602 of file sig_helper3.C.

Referenced by multiscatter3(), and single_scatter_init().

real zone_area ( sigma_out & out,
int i )
 

Definition at line 510 of file sig_helper3.C.

Referenced by zone_density(), and zone_weight().

real zone_density ( sigma_out & out,
int i )
 

Definition at line 520 of file sig_helper3.C.

real zone_weight ( sigma_out & out,
int i )
 

Definition at line 525 of file sig_helper3.C.

Referenced by counts_to_sigma(), dump_stats(), normalize_counts(), and print_stats().


Variable Documentation

char dummy_string[20]
 

Definition at line 202 of file sig_helper3.C.

real max_err = 0
 

Definition at line 574 of file sig_helper3.C.

real max_t = 0
 

Definition at line 573 of file sig_helper3.C.


Generated at Sun Feb 24 09:57:30 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001