Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

kira_init.C File Reference

#include "star/dstar_to_kira.h"
#include "kira_defaults.h"

Go to the source code of this file.

Defines

#define LONG_BINARY_OUT   10
#define SEED_STRING_LENGTH   60
#define Rsun_pc   2.255e-8
#define MASS_TOL   1.e-12

Functions

local void initialize_index (node *b, bool verbose)
local void correct_multiples (hdyn *b, bool verbose)
local void choose_param (hdyn *b, bool verbose, real &x, bool x_flag, char *x_id, bool zero_OK=false)
local void choose_param (hdyn *b, bool verbose, int &ix, bool x_flag, char *x_id, bool zero_OK=false)
local void set_runtime_params (hdyn *b, bool verbose, real eta, bool eta_flag, real eps, bool eps_flag, real d_min, bool d_min_flag, real lag_factor, bool lag_flag, real gamma, bool gamma_flag, int max_slow, bool max_slow_flag)
local real get_scaled_stripping_radius (hdyn *b, bool verbose, real input_stripping_radius, real initial_r_jacobi, real initial_r_virial, real initial_mass)
local void get_physical_scales (hdyn *b, bool verbose, real initial_mass, real initial_r_virial, bool M_flag, real m_tot, bool R_flag, real r_vir, bool T_flag, real t_vir, real q_vir, int nbody)
local char* stredit (char *s, char c1, char c2)
local void kira_system_id (int argc, char **argv)
local void check_total_mass (hdyn *b, bool reset=true)
bool kira_initialize (int argc, char **argv, hdynptr &b, real &delta_t, real &dt_log, int &long_binary_out, real &dt_snap, real &dt_sstar, real &dt_esc, real &dt_reinit, real &dt_fulldump, bool &exact, real &cpu_time_limit, bool &verbose, bool &save_snap_at_log, char *snap_save_file, int &n_stop)


Define Documentation

#define LONG_BINARY_OUT   10
 

Definition at line 21 of file kira_init.C.

#define MASS_TOL   1.e-12
 

Definition at line 665 of file kira_init.C.

#define Rsun_pc   2.255e-8
 

Definition at line 24 of file kira_init.C.

#define SEED_STRING_LENGTH   60
 

Definition at line 22 of file kira_init.C.


Function Documentation

local void check_total_mass ( hdyn * b,
bool reset = true )
 

Definition at line 667 of file kira_init.C.

Referenced by kira_initialize().

local void choose_param ( hdyn * b,
bool verbose,
int & ix,
bool x_flag,
char * x_id,
bool zero_OK = false )
 

Definition at line 174 of file kira_init.C.

Referenced by kira_initialize(), and set_runtime_params().

local void choose_param ( hdyn * b,
bool verbose,
real & x,
bool x_flag,
char * x_id,
bool zero_OK = false )
 

Definition at line 88 of file kira_init.C.

local void correct_multiples ( hdyn * b,
bool verbose )
 

Definition at line 59 of file kira_init.C.

Referenced by kira_initialize().

local void get_physical_scales ( hdyn * b,
bool verbose,
real initial_mass,
real initial_r_virial,
bool M_flag,
real m_tot,
bool R_flag,
real r_vir,
bool T_flag,
real t_vir,
real q_vir,
int nbody )
 

Definition at line 370 of file kira_init.C.

local real get_scaled_stripping_radius ( hdyn * b,
bool verbose,
real input_stripping_radius,
real initial_r_jacobi,
real initial_r_virial,
real initial_mass )
 

Definition at line 248 of file kira_init.C.

Referenced by kira_initialize().

local void initialize_index ( node * b,
bool verbose )
 

Definition at line 26 of file kira_init.C.

Referenced by kira_initialize().

bool kira_initialize ( int argc,
char ** argv,
hdynptr & b,
real & delta_t,
real & dt_log,
int & long_binary_out,
real & dt_snap,
real & dt_sstar,
real & dt_esc,
real & dt_reinit,
real & dt_fulldump,
bool & exact,
real & cpu_time_limit,
bool & verbose,
bool & save_snap_at_log,
char * snap_save_file,
int & n_stop )
 

Definition at line 690 of file kira_init.C.

local void kira_system_id ( int argc,
char ** argv )
 

Definition at line 617 of file kira_init.C.

Referenced by kira_initialize().

local void set_runtime_params ( hdyn * b,
bool verbose,
real eta,
bool eta_flag,
real eps,
bool eps_flag,
real d_min,
bool d_min_flag,
real lag_factor,
bool lag_flag,
real gamma,
bool gamma_flag,
int max_slow,
bool max_slow_flag )
 

Definition at line 186 of file kira_init.C.

Referenced by kira_initialize().

local char* stredit ( char * s,
char c1,
char c2 )
 

Definition at line 599 of file kira_init.C.


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