Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

scatt_stats_2.C File Reference

#include "sigma3.h"

Go to the source code of this file.

Defines

#define DEBUG   0
#define Grav   6.673e-8
#define Msun   1.989e33
#define AU   1.486e13
#define Rsun   6.960e10
#define Kms   1e5
#define SECONDS_IN_YEAR   3.16e7
#define CM_IN_PC   3.086e18
#define N_MASS   24
#define M_MIN   0.0
#define M_MAX   2.4
#define N_HE   10
#define MIN_HE   0.24
#define MAX_HE   0.39
#define N_HEMASS   10
#define M_HEMIN   0.0
#define M_HEMAX   1.0
#define N_INT   9
#define SCALE   100

Functions

local int get_index (real m)
local real get_quantity (real m, real *q)
local real radius (real m)
local real helium (real m)
local real get_mass (real ml, real mu, real x)
local void zero_temp_counter ()
local void initialize_stats ()
local void accumulate_stats (scatter_profile &prof, initial_state3 &init, intermediate_state3 &inter, final_state3 &final, int rho_bin, sigma_out &out)
local void normalize_and_store_counts (sigma_out &out, real weight)
local void normalize_and_print_stats (sigma_out &out)
 main (int argc, char **argv)


Define Documentation

#define AU   1.486e13
 

Definition at line 12 of file scatt_stats_2.C.

#define CM_IN_PC   3.086e18
 

Definition at line 17 of file scatt_stats_2.C.

#define DEBUG   0
 

Definition at line 8 of file scatt_stats_2.C.

#define Grav   6.673e-8
 

Definition at line 10 of file scatt_stats_2.C.

#define Kms   1e5
 

Definition at line 15 of file scatt_stats_2.C.

#define MAX_HE   0.39
 

Definition at line 29 of file scatt_stats_2.C.

#define MIN_HE   0.24
 

Definition at line 28 of file scatt_stats_2.C.

#define M_HEMAX   1.0
 

Definition at line 33 of file scatt_stats_2.C.

#define M_HEMIN   0.0
 

Definition at line 32 of file scatt_stats_2.C.

#define M_MAX   2.4
 

Definition at line 25 of file scatt_stats_2.C.

#define M_MIN   0.0
 

Definition at line 24 of file scatt_stats_2.C.

#define Msun   1.989e33
 

Definition at line 11 of file scatt_stats_2.C.

#define N_HE   10
 

Definition at line 27 of file scatt_stats_2.C.

#define N_HEMASS   10
 

Definition at line 31 of file scatt_stats_2.C.

#define N_INT   9
 

Definition at line 42 of file scatt_stats_2.C.

#define N_MASS   24
 

Definition at line 23 of file scatt_stats_2.C.

#define Rsun   6.960e10
 

Definition at line 13 of file scatt_stats_2.C.

#define SCALE   100
 

Definition at line 269 of file scatt_stats_2.C.

#define SECONDS_IN_YEAR   3.16e7
 

Definition at line 16 of file scatt_stats_2.C.


Function Documentation

local void accumulate_stats ( scatter_profile & prof,
initial_state3 & init,
intermediate_state3 & inter,
final_state3 & final,
int rho_zone,
sigma_out & out )
 

Definition at line 143 of file scatt_stats_2.C.

local int get_index ( real m )
 

Definition at line 62 of file scatt_stats_2.C.

local real get_mass ( real ml,
real mu,
real x )
 

Definition at line 97 of file scatt_stats_2.C.

local real get_quantity ( real m,
real * q )
 

Definition at line 69 of file scatt_stats_2.C.

local real helium ( real m )
 

Definition at line 88 of file scatt_stats_2.C.

local void initialize_stats ( )
 

Definition at line 123 of file scatt_stats_2.C.

main ( int argc,
char ** argv )
 

Definition at line 351 of file scatt_stats_2.C.

local void normalize_and_print_stats ( sigma_out & out )
 

Definition at line 271 of file scatt_stats_2.C.

local void normalize_and_store_counts ( sigma_out & out,
real weight )
 

Definition at line 232 of file scatt_stats_2.C.

local real radius ( real m )
 

Definition at line 82 of file scatt_stats_2.C.

local void zero_temp_counter ( )
 

Definition at line 111 of file scatt_stats_2.C.

Referenced by main().


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