Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

dyn_story.C File Reference

#include "dyn.h"

Go to the source code of this file.

Defines

#define MATCH_TOL   0.001
#define OORT_A   (0.0144)
#define OORT_B   (-0.012)
#define RHO_G   (0.11/232)
#define Rsun_pc   2.255e-8
#define OORT_ALPHA_RATIO

Functions

real get_initial_mass (dyn *b, bool verbose, bool mass_set, real input_mass)
real get_initial_virial_radius (dyn *b, bool verbose, bool r_virial_set, real input_r_virial)
real get_initial_jacobi_radius (dyn *b, real r_virial, bool verbose, bool r_jacobi_set, real input_r_jacobi)
local bool matches (real r, real v)
local void tidal_msg (int i, real alpha3_over_alpha1)
void set_tidal_params (dyn *b, bool verbose, real initial_r_jacobi, real initial_mass, int &tidal_field_type)
void test_tidal_params (dyn *b, bool verbose, real initial_r_jacobi, real initial_r_virial, real initial_mass)
int check_set_tidal (dyn *b, bool verbose)
void check_set_plummer (dyn *b, bool verbose)
void check_set_power_law (dyn *b, bool verbose)
void check_set_external (dyn *b, bool verbose)
void check_set_ignore_internal (dyn *b, bool verbose)


Define Documentation

#define MATCH_TOL   0.001
 

Definition at line 389 of file dyn_story.C.

#define OORT_A   (0.0144)
 

Definition at line 411 of file dyn_story.C.

#define OORT_ALPHA_RATIO
 

Value:

        ((4*M_PI*RHO_G + 2*(OORT_A*OORT_A - OORT_B*OORT_B)) \
                         / (-4*OORT_A*(OORT_A-OORT_B)))

Definition at line 417 of file dyn_story.C.

#define OORT_B   (-0.012)
 

Definition at line 412 of file dyn_story.C.

#define RHO_G   (0.11/232)
 

Definition at line 413 of file dyn_story.C.

#define Rsun_pc   2.255e-8
 

Definition at line 415 of file dyn_story.C.


Function Documentation

void check_set_external ( dyn * b,
bool verbose )
 

Definition at line 849 of file dyn_story.C.

Referenced by kira_initialize(), and scale().

void check_set_ignore_internal ( dyn * b,
bool verbose )
 

Definition at line 859 of file dyn_story.C.

Referenced by kira_initialize(), and scale().

void check_set_plummer ( dyn * b,
bool verbose )
 

Definition at line 745 of file dyn_story.C.

Referenced by check_set_external().

void check_set_power_law ( dyn * b,
bool verbose )
 

Definition at line 782 of file dyn_story.C.

Referenced by check_set_external().

int check_set_tidal ( dyn * b,
bool verbose )
 

Definition at line 726 of file dyn_story.C.

Referenced by check_set_external().

real get_initial_jacobi_radius ( dyn * b,
real r_virial,
bool verbose,
bool r_jacobi_set,
real input_r_jacobi )
 

Definition at line 226 of file dyn_story.C.

Referenced by check_set_tidal(), and kira_initialize().

real get_initial_mass ( dyn * b,
bool verbose,
bool mass_set,
real input_mass )
 

Definition at line 50 of file dyn_story.C.

Referenced by check_set_tidal(), and kira_initialize().

real get_initial_virial_radius ( dyn * b,
bool verbose,
bool r_virial_set,
real input_r_virial )
 

Definition at line 142 of file dyn_story.C.

Referenced by check_set_tidal(), and kira_initialize().

local bool matches ( real r,
real v )
 

Definition at line 391 of file dyn_story.C.

Referenced by set_tidal_params().

void set_tidal_params ( dyn * b,
bool verbose,
real initial_r_jacobi,
real initial_mass,
int & tidal_field_type )
 

Definition at line 431 of file dyn_story.C.

Referenced by check_set_tidal().

void test_tidal_params ( dyn * b,
bool verbose,
real initial_r_jacobi,
real initial_r_virial,
real initial_mass )
 

Definition at line 696 of file dyn_story.C.

Referenced by kira_initialize().

local void tidal_msg ( int i,
real alpha3_over_alpha1 )
 

Definition at line 421 of file dyn_story.C.

Referenced by set_tidal_params().


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