Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

new_stats.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 MAX_SAVE   100000
#define N_INT_0   9
#define N_INT_1   13

Functions

local int get_index (real mass, real *m, int n)
local real get_quantity (real mass, real *m, real *q, int n)
local real radius (real mass)
local real get_mass (real ml, real mu, real x)
local void save_stats (scatter_profile &prof, initial_state3 &init, intermediate_state3 &inter, final_state3 &final, int rho_bin, sigma_out &out)
void dump_stats (scatter_profile &prof, sigma_out &out, int verbose)
 main (int argc, char **argv)


Define Documentation

#define AU   1.486e13
 

Definition at line 16 of file new_stats.C.

#define CM_IN_PC   3.086e18
 

Definition at line 21 of file new_stats.C.

#define DEBUG   0
 

Definition at line 12 of file new_stats.C.

#define Grav   6.673e-8
 

Definition at line 14 of file new_stats.C.

#define Kms   1e5
 

Definition at line 19 of file new_stats.C.

#define MAX_SAVE   100000
 

Definition at line 29 of file new_stats.C.

#define Msun   1.989e33
 

Definition at line 15 of file new_stats.C.

#define N_INT_0   9
 

Definition at line 50 of file new_stats.C.

#define N_INT_1   13
 

Definition at line 58 of file new_stats.C.

#define Rsun   6.960e10
 

Definition at line 17 of file new_stats.C.

#define SECONDS_IN_YEAR   3.16e7
 

Definition at line 20 of file new_stats.C.


Function Documentation

void dump_stats ( scatter_profile & prof,
sigma_out & out,
int verbose )
 

Definition at line 159 of file new_stats.C.

Referenced by main().

local int get_index ( real mass,
real * m,
int n )
 

Definition at line 66 of file new_stats.C.

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

Definition at line 109 of file new_stats.C.

local real get_quantity ( real mass,
real * m,
real * q,
int n )
 

Definition at line 72 of file new_stats.C.

main ( int argc,
char ** argv )
 

Definition at line 264 of file new_stats.C.

local real radius ( real m )
 

Definition at line 84 of file new_stats.C.

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

Definition at line 123 of file new_stats.C.


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