Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

test_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_HE   10
#define MIN_HE   0.24
#define MAX_HE   0.39
#define N_MASS   24
#define M_MIN   0.0
#define M_MAX   2.4
#define N_INT   9

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)
local void normalize_and_store_counts (sigma_out &out, real weight)
local void print_stats (sigma_out &out)
 main (int argc, char **argv)


Define Documentation

#define AU   1.486e13
 

Definition at line 11 of file test_2.C.

#define CM_IN_PC   3.086e18
 

Definition at line 16 of file test_2.C.

#define DEBUG   0
 

Definition at line 7 of file test_2.C.

#define Grav   6.673e-8
 

Definition at line 9 of file test_2.C.

#define Kms   1e5
 

Definition at line 14 of file test_2.C.

#define MAX_HE   0.39
 

Definition at line 20 of file test_2.C.

#define MIN_HE   0.24
 

Definition at line 19 of file test_2.C.

#define M_MAX   2.4
 

Definition at line 24 of file test_2.C.

#define M_MIN   0.0
 

Definition at line 23 of file test_2.C.

#define Msun   1.989e33
 

Definition at line 10 of file test_2.C.

#define N_HE   10
 

Definition at line 18 of file test_2.C.

#define N_INT   9
 

Definition at line 33 of file test_2.C.

#define N_MASS   24
 

Definition at line 22 of file test_2.C.

#define Rsun   6.960e10
 

Definition at line 12 of file test_2.C.

#define SECONDS_IN_YEAR   3.16e7
 

Definition at line 15 of file test_2.C.


Function Documentation

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

Definition at line 115 of file test_2.C.

local int get_index ( real m )
 

Definition at line 48 of file test_2.C.

Referenced by get_quantity(), make_tuple_cm(), and merge().

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

Definition at line 83 of file test_2.C.

local real get_quantity ( real m,
real * q )
 

Definition at line 55 of file test_2.C.

Referenced by helium(), and radius().

local real helium ( real m )
 

Definition at line 74 of file test_2.C.

Referenced by accumulate_stats(), and update_sigma2().

local void initialize_stats ( )
 

Definition at line 102 of file test_2.C.

main ( int argc,
char ** argv )
 

Definition at line 230 of file test_2.C.

local void normalize_and_store_counts ( sigma_out & out,
real weight )
 

Definition at line 178 of file test_2.C.

Referenced by main().

local void print_stats ( sigma_out & out )
 

Definition at line 197 of file test_2.C.

Referenced by accumulate_stats(), and main().

local real radius ( real m )
 

Definition at line 68 of file test_2.C.

Referenced by main().

local void zero_temp_counter ( )
 

Definition at line 94 of file test_2.C.


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