Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

sys_stats.C File Reference

#include "dyn.h"
#include "star/sstar_to_dyn.h"

Go to the source code of this file.

Data Structures

struct  rm_pair

Defines

#define P_MAX   0.1
#define E_MIN   0.5
#define NP   12
#define NR   10
#define NE   12

Typedefs

typedef * rm_pair_ptr

Functions

local bool check_for_doubling (dyn *b)
local real print_relaxation_time (dyn *b, real &potential_energy, real &kinetic_energy, void(*compute_energies)(dyn *, real, real &, real &, real &, bool))
local bool print_numbers_and_masses (dyn *b)
local void print_parameters_for_massive_black_holes (dyn *b, real kT, vector center, bool verbose)
local int which_zone (dyn *bi, vector &center_pos, int n_lagr, real *r_lagr)
local void print_numbers_and_masses_by_radial_zone (dyn *b, int which)
local void print_anisotropy_by_radial_zone (dyn *b, int which)
local real top_level_kinetic_energy (dyn *b)
local void print_energies (dyn *b, real &potential_energy, real &kinetic_energy, real &kT, void(*compute_energies)(dyn *, real, real &, real &, real &, bool))
local void search_for_binaries (dyn *b, real energy_cutoff, real kT, vector center, bool verbose, bool long_binary_output)
local void initialize_histograms ()
local void bin_recursive (dyn *bi, vector center, real rcore, real rhalf, real kT)
local void print_histogram (int histogram[][NR], int n, char *label)
local void print_binary_histograms ()
local void print_binaries (dyn *b, real kT, vector center, real rcore, real rhalf, bool verbose, bool long_binary_output=true, void(*dstar_params)(dyn *)=NULL)
local void print_core_parameters (dyn *b, bool allow_n_sq_ops, vector &density_center, real &rcore)
local real linear_interpolation (const real x, const real x1, const real x2, const real y1, const real y2)
local bool testnode (dyn *b)
local bool binary_fn (dyn *b)
local bool single_fn (dyn *b)
local bool double_fn (dyn *b)
local real print_lagrangian_radii (dyn *b, int which_lagr, bool verbose=true, int which_star=0)
local dyn* dominant_mass (dyn *b, real f)
local int compare_radii (const void *pi, const void *pj)
local void print_dominated_lagrangian_radii (dyn *b, dyn *b_dom)
local void print_dominated_velocity_dispersions (dyn *b, dyn *b_dom)
bool parse_sys_stats_main (int argc, char *argv[], int &which_lagr, bool &binaries, bool &long_binary_output, bool &B_flag, bool &calc_e, bool &n_sq, bool &out, bool &verbose)
void sys_stats (dyn *b, real energy_cutoff, bool verbose, bool binaries, bool long_binary_output, int which_lagr, bool print_time, bool compute_energy, bool allow_n_sq_ops, void(*compute_energies)(dyn *, real, real &, real &, real &, bool), void(*dstar_params)(dyn *), bool(*print_dstar_stats)(dyn *, bool, vector, bool))

Variables

bool have_kT = false


Define Documentation

#define E_MIN   0.5
 

Definition at line 591 of file util/sys_stats.C.

#define NE   12
 

Definition at line 594 of file util/sys_stats.C.

#define NP   12
 

Definition at line 592 of file util/sys_stats.C.

#define NR   10
 

Definition at line 593 of file util/sys_stats.C.

#define P_MAX   0.1
 

Definition at line 590 of file util/sys_stats.C.


Typedef Documentation

typedef * rm_pair_ptr
 


Function Documentation

local void bin_recursive ( dyn * bi,
vector center,
real rcore,
real rhalf,
real kT )
 

Definition at line 611 of file util/sys_stats.C.

Referenced by print_binaries().

local bool binary_fn ( dyn * b )
 

Definition at line 1034 of file util/sys_stats.C.

local bool check_for_doubling ( dyn * b )
 

Definition at line 70 of file util/sys_stats.C.

Referenced by sys_stats().

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

Definition at line 1171 of file util/sys_stats.C.

local dyn* dominant_mass ( dyn * b,
real f )
 

Definition at line 1139 of file util/sys_stats.C.

Referenced by sys_stats().

local bool double_fn ( dyn * b )
 

Definition at line 1050 of file util/sys_stats.C.

local void initialize_histograms ( )
 

Definition at line 604 of file util/sys_stats.C.

Referenced by print_binaries().

local real linear_interpolation ( const real x,
const real x1,
const real x2,
const real y1,
const real y2 )
 

Definition at line 948 of file util/sys_stats.C.

bool parse_sys_stats_main ( int argc,
char * argv[],
int & which_lagr,
bool & binaries,
bool & long_binary_output,
bool & B_flag,
bool & calc_e,
bool & n_sq,
bool & out,
bool & verbose )
 

Definition at line 1297 of file util/sys_stats.C.

local void print_anisotropy_by_radial_zone ( dyn * b,
int which )
 

Definition at line 316 of file util/sys_stats.C.

Referenced by sys_stats().

local void print_binaries ( dyn * b,
real kT,
vector center,
real rcore,
real rhalf,
bool verbose,
bool long_binary_output = true,
void(* dstar_params)(dyn *) = NULL )
 

Definition at line 775 of file util/sys_stats.C.

Referenced by sys_stats().

local void print_binary_histograms ( )
 

Definition at line 745 of file util/sys_stats.C.

Referenced by print_binaries().

local void print_core_parameters ( dyn * b,
bool allow_n_sq_ops,
vector & density_center,
real & rcore )
 

Definition at line 925 of file util/sys_stats.C.

local void print_dominated_lagrangian_radii ( dyn * b,
dyn * b_dom )
 

Definition at line 1181 of file util/sys_stats.C.

Referenced by sys_stats().

local void print_dominated_velocity_dispersions ( dyn * b,
dyn * b_dom )
 

Definition at line 1243 of file util/sys_stats.C.

Referenced by sys_stats().

local void print_energies ( dyn * b,
real & potential_energy,
real & kinetic_energy,
real & kT,
void(* compute_energies)(dyn *, real, real &, real &, real &, bool) )
 

Definition at line 485 of file util/sys_stats.C.

local void print_histogram ( int histogram[][NR],
int n,
char * label )
 

Definition at line 702 of file util/sys_stats.C.

Referenced by print_binary_histograms().

local real print_lagrangian_radii ( dyn * b,
int which_lagr,
bool verbose = true,
int which_star = 0 )
 

Definition at line 1058 of file util/sys_stats.C.

local bool print_numbers_and_masses ( dyn * b )
 

Definition at line 112 of file util/sys_stats.C.

Referenced by sys_stats().

local void print_numbers_and_masses_by_radial_zone ( dyn * b,
int which )
 

Definition at line 190 of file util/sys_stats.C.

Referenced by sys_stats().

local void print_parameters_for_massive_black_holes ( dyn * b,
real kT,
vector center,
bool verbose )
 

Definition at line 152 of file util/sys_stats.C.

Referenced by sys_stats().

local real print_relaxation_time ( dyn * b,
real & potential_energy,
real & kinetic_energy,
void(* compute_energies)(dyn *, real, real &, real &, real &, bool) )
 

Definition at line 78 of file util/sys_stats.C.

local void search_for_binaries ( dyn * b,
real energy_cutoff,
real kT,
vector center,
bool verbose,
bool long_binary_output )
 

Definition at line 552 of file util/sys_stats.C.

Referenced by sys_stats().

local bool single_fn ( dyn * b )
 

Definition at line 1042 of file util/sys_stats.C.

void sys_stats ( dyn * b,
real energy_cutoff,
bool verbose,
bool binaries,
bool long_binary_output,
int which_lagr,
bool print_time,
bool compute_energy,
bool allow_n_sq_ops,
void(* compute_energies)(dyn *, real, real &, real &, real &, bool),
void(* dstar_params)(dyn *),
bool(* print_dstar_stats)(dyn *, bool, vector, bool) )
 

Definition at line 1363 of file util/sys_stats.C.

Referenced by print_statistics().

local bool testnode ( dyn * b )
 

Definition at line 1026 of file util/sys_stats.C.

local real top_level_kinetic_energy ( dyn * b )
 

Definition at line 463 of file util/sys_stats.C.

Referenced by sys_stats().

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

Definition at line 179 of file util/sys_stats.C.


Variable Documentation

bool have_kT = false
 

Definition at line 602 of file util/sys_stats.C.


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