Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

scatt_stats_2a.C File Reference

#include "stdinc.h"

Go to the source code of this file.

Defines

#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   48
#define M_MIN   0.0
#define M_MAX   2.4
#define N_HE   30
#define MIN_HE   0.24
#define MAX_HE   0.39
#define N_HEMASS   25
#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 initialize_stats ()
local void update_sigma2 (real m1, real m2, real r1, real r2, real v_inf)
local void normalize_and_print_stats ()
 main (int argc, char **argv)


Define Documentation

#define AU   1.486e13
 

Definition at line 11 of file scatt_stats_2a.C.

#define CM_IN_PC   3.086e18
 

Definition at line 16 of file scatt_stats_2a.C.

#define Grav   6.673e-8
 

Definition at line 9 of file scatt_stats_2a.C.

#define Kms   1e5
 

Definition at line 14 of file scatt_stats_2a.C.

#define MAX_HE   0.39
 

Definition at line 28 of file scatt_stats_2a.C.

#define MIN_HE   0.24
 

Definition at line 27 of file scatt_stats_2a.C.

#define M_HEMAX   1.0
 

Definition at line 32 of file scatt_stats_2a.C.

#define M_HEMIN   0.0
 

Definition at line 31 of file scatt_stats_2a.C.

#define M_MAX   2.4
 

Definition at line 24 of file scatt_stats_2a.C.

#define M_MIN   0.0
 

Definition at line 23 of file scatt_stats_2a.C.

#define Msun   1.989e33
 

Definition at line 10 of file scatt_stats_2a.C.

#define N_HE   30
 

Definition at line 26 of file scatt_stats_2a.C.

#define N_HEMASS   25
 

Definition at line 30 of file scatt_stats_2a.C.

#define N_INT   9
 

Definition at line 41 of file scatt_stats_2a.C.

#define N_MASS   48
 

Definition at line 22 of file scatt_stats_2a.C.

#define Rsun   6.960e10
 

Definition at line 12 of file scatt_stats_2a.C.

#define SCALE   100
 

Definition at line 147 of file scatt_stats_2a.C.

#define SECONDS_IN_YEAR   3.16e7
 

Definition at line 15 of file scatt_stats_2a.C.


Function Documentation

local int get_index ( real m )
 

Definition at line 55 of file scatt_stats_2a.C.

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

Definition at line 87 of file scatt_stats_2a.C.

local real get_quantity ( real m,
real * q )
 

Definition at line 61 of file scatt_stats_2a.C.

local real helium ( real m )
 

Definition at line 79 of file scatt_stats_2a.C.

local void initialize_stats ( )
 

Definition at line 101 of file scatt_stats_2a.C.

main ( int argc,
char ** argv )
 

Definition at line 207 of file scatt_stats_2a.C.

local void normalize_and_print_stats ( )
 

Definition at line 149 of file scatt_stats_2a.C.

Referenced by main().

local real radius ( real m )
 

Definition at line 73 of file scatt_stats_2a.C.

local void update_sigma2 ( real m1,
real m2,
real r1,
real r2,
real v_inf )
 

Definition at line 110 of file scatt_stats_2a.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