Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

sstar_stats.C File Reference

#include "sstar_to_dyn.h"
#include "dyn.h"
#include "single_star.h"

Go to the source code of this file.

Data Structures

struct  md_pair
struct  nm_bin
struct  pop
struct  star_table

Defines

#define OUTPUT_MASS_LIMIT   10
#define OUTPUT_NUMBER_LIMIT   10
#define MINIMUM_LUMINOSITY   1.0e-4
#define MAX_PREDEF_RADII   9

Typedefs

typedef * star_ubvri_ptr
typedef * md_pair_ptr

Enumerations

enum  bin_option { lineair, predefined }

Functions

local int which_zone (dyn *bi, vector &center, int n_lagr, real *r_lagr)
local void print_stellar_content (dyn *b)
local int print_special_stars (dyn *b)
local void print_compact_stars (dyn *b)
local int compare_parameters (const void *pi, const void *pj)
local void sort_stellar_ubvri (dyn *b, int nzones, int n, star_ubvri_ptr table, real *Ltot)
local real predifinced_lagrangian_fraction (int i)
local real lagrangian_radius (int i, int nzones, bin_option binning)
local void get_lagrangian_ubvri_radii (dyn *b, int nzones, bin_option binning, real *rLu, real *rLb, real *rLv, real *rLr, real *rLi)
local void print_lagrangian_ubvri_radii (dyn *b, int nzones, bin_option binning)
local void print_mass_over_light (dyn *b)
local void print_mass_spectrum (dyn *b, int nzones, bool verbose)
local void print_luminosity_function (dyn *b, int nzones, bool verbose)
local void print_massive_star (dyn *bi, vector center_pos, vector center_vel, bool verbose)
local int print_massive_binary (dyn *bi, vector center_pos, vector center_vel, real mass_limit, real number_limit, bool verbose)
local bool contains_massive_star (dyn *b, real mass_limit, real number_limit)
local int print_massive_binary_recursive (dyn *b, vector center_pos, vector center_vel, real mass_limit, real number_limit, bool verbose)
local void print_massive_star_header (bool cod)
local int compare_mass (const void *pi, const void *pj)
local void print_most_massive_stars (dyn *b, real mass_limit, real number_limit, vector center_pos, bool verbose)
void print_sstar_time_scales (dyn *b)
void sstar_stats (dyn *b, bool mass_spectrum, vector center, bool verbose)


Define Documentation

#define MAX_PREDEF_RADII   9
 

Definition at line 14 of file sstar_stats.C.

#define MINIMUM_LUMINOSITY   1.0e-4
 

Definition at line 12 of file sstar_stats.C.

#define OUTPUT_MASS_LIMIT   10
 

Definition at line 10 of file sstar_stats.C.

#define OUTPUT_NUMBER_LIMIT   10
 

Definition at line 11 of file sstar_stats.C.


Typedef Documentation

typedef * md_pair_ptr
 

typedef * star_ubvri_ptr
 


Enumeration Type Documentation

enum bin_option
 

Enumeration values:
lineair  
predefined  

Definition at line 15 of file sstar_stats.C.


Function Documentation

local int compare_mass ( const void * pi,
const void * pj )
 

Definition at line 998 of file sstar_stats.C.

local int compare_parameters ( const void * pi,
const void * pj )
 

Definition at line 334 of file sstar_stats.C.

local bool contains_massive_star ( dyn * b,
real mass_limit,
real number_limit )
 

Definition at line 936 of file sstar_stats.C.

Referenced by print_massive_binary_recursive().

local void get_lagrangian_ubvri_radii ( dyn * b,
int nzones,
bin_option binning,
real * rLu,
real * rLb,
real * rLv,
real * rLr,
real * rLi )
 

Definition at line 472 of file sstar_stats.C.

Referenced by print_lagrangian_ubvri_radii().

local real lagrangian_radius ( int i,
int nzones,
bin_option binning )
 

Definition at line 459 of file sstar_stats.C.

Referenced by get_lagrangian_ubvri_radii(), and print_lagrangian_ubvri_radii().

local real predifinced_lagrangian_fraction ( int i )
 

Definition at line 433 of file sstar_stats.C.

Referenced by lagrangian_radius().

local void print_compact_stars ( dyn * b )
 

Definition at line 232 of file sstar_stats.C.

Referenced by sstar_stats().

local void print_lagrangian_ubvri_radii ( dyn * b,
int nzones,
bin_option binning )
 

Definition at line 552 of file sstar_stats.C.

Referenced by sstar_stats().

local void print_luminosity_function ( dyn * b,
int nzones,
bool verbose )
 

Definition at line 808 of file sstar_stats.C.

Referenced by sstar_stats().

local void print_mass_over_light ( dyn * b )
 

Definition at line 589 of file sstar_stats.C.

Referenced by sstar_stats().

local void print_mass_spectrum ( dyn * b,
int nzones,
bool verbose )
 

Definition at line 720 of file sstar_stats.C.

Referenced by sstar_stats().

local int print_massive_binary ( dyn * bi,
vector center_pos,
vector center_vel,
real mass_limit,
real number_limit,
bool verbose )
 

Definition at line 900 of file sstar_stats.C.

local int print_massive_binary_recursive ( dyn * b,
vector center_pos,
vector center_vel,
real mass_limit,
real number_limit,
bool verbose )
 

Definition at line 948 of file sstar_stats.C.

Referenced by print_most_massive_stars().

local void print_massive_star ( dyn * bi,
vector center_pos,
vector center_vel,
bool verbose )
 

Definition at line 888 of file sstar_stats.C.

Referenced by print_massive_binary_recursive(), and print_most_massive_stars().

local void print_massive_star_header ( bool cod )
 

Definition at line 980 of file sstar_stats.C.

Referenced by print_most_massive_stars().

local void print_most_massive_stars ( dyn * b,
real mass_limit,
real number_limit,
vector center_pos,
bool verbose )
 

Definition at line 1009 of file sstar_stats.C.

Referenced by sstar_stats().

local int print_special_stars ( dyn * b )
 

Definition at line 167 of file sstar_stats.C.

Referenced by sstar_stats().

void print_sstar_time_scales ( dyn * b )
 

Definition at line 1073 of file sstar_stats.C.

Referenced by log_output(), and sys_stats().

local void print_stellar_content ( dyn * b )
 

Definition at line 60 of file sstar_stats.C.

Referenced by sstar_stats().

local void sort_stellar_ubvri ( dyn * b,
int nzones,
int n,
star_ubvri_ptr table,
real * Ltot )
 

Definition at line 344 of file sstar_stats.C.

Referenced by get_lagrangian_ubvri_radii().

void sstar_stats ( dyn * b,
bool mass_spectrum,
vector center,
bool verbose )
 

Definition at line 1084 of file sstar_stats.C.

Referenced by dstar_stats(), and sys_stats().

local int which_zone ( dyn * bi,
vector & center,
int n_lagr,
real * r_lagr )
 

Definition at line 48 of file sstar_stats.C.

Referenced by print_anisotropy_by_radial_zone(), print_mass_over_light(), print_numbers_and_masses_by_radial_zone(), and print_stellar_content().


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