Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

initdouble.C File Reference

#include "node.h"
#include "double_star.h"
#include "main_sequence.h"

Go to the source code of this file.

Defines

#define REPORT_ADD_DOUBLE   false
#define REPORT_DEL_DOUBLE   false
#define REPORT_EVOLVE_DOUBLE   false
#define SEED_STRING_LENGTH   255

Functions

void add_secondary (node *original, real mass_ratio)
void mksecondary (node *b, real binary_fraction, real lower_limit)
char* type_string (mass_ratio_distribution qf)
mass_ratio_distribution extract_mass_ratio_distribution_type_string (char *type_string)
local real qf_Hogeveen (real q_lower, real q_upper)
real get_random_mass_ratio (real q_lower, real q_upper, mass_ratio_distribution qf, real exponent)
char* type_string (sma_distribution smaf)
sma_distribution extract_semimajor_axis_distribution_type_string (char *type_string)
local real smaf_Duquenoy_Mayor (real a_lower, real a_upper, real total_mass)
local real smaf_Eggleton (real a_lower, real a_upper, real m_prim, real m_sec)
real get_random_semimajor_axis (real a_lower, real a_upper, sma_distribution smaf, real exponent, real m_prim, real m_sec)
char* type_string (ecc_distribution eccf)
ecc_distribution extract_eccentricity_distribution_type_string (char *type_string)
local real eccf_Thermal_Distribution (real e_lower, real e_upper)
real get_random_eccentricity (real e_lower, real e_upper, ecc_distribution eccf, real exponent)
local void determine_semi_major_axis_limits (real m_prim, real m_sec, real ecc, real &a_min, real &a_max)
void mkrandom_binary (real m_min, real m_max, mass_function mf, real m_exp, real q_min, real q_max, mass_ratio_distribution qf, real q_exp, real a_min, real a_max, sma_distribution af, real a_exp, real e_min, real e_max, ecc_distribution ef, real e_exp, real &m_prim, real &m_sec, real &semi, real &ecc)
void print_initial_binary_distributions (real m_min, real m_max, mass_function mf, real m_exp, real q_min, real q_max, mass_ratio_distribution qf, real q_exp, real a_min, real a_max, sma_distribution af, real a_exp, real e_min, real e_max, ecc_distribution ef, real e_exp)
void adddouble (node *b, real dyn_time, binary_type type, bool random_initialization, real a_min, real a_max, real e_min, real e_max)


Define Documentation

#define REPORT_ADD_DOUBLE   false
 

Definition at line 82 of file initdouble.C.

#define REPORT_DEL_DOUBLE   false
 

Definition at line 83 of file initdouble.C.

#define REPORT_EVOLVE_DOUBLE   false
 

Definition at line 84 of file initdouble.C.

#define SEED_STRING_LENGTH   255
 

Definition at line 86 of file initdouble.C.


Function Documentation

void add_secondary ( node * original,
real mass_ratio )
 

Definition at line 88 of file initdouble.C.

void adddouble ( node * b,
real dyn_time,
binary_type type,
bool random_initialization,
real a_min,
real a_max,
real e_min,
real e_max )
 

Definition at line 584 of file initdouble.C.

local void determine_semi_major_axis_limits ( real m_prim,
real m_sec,
real ecc,
real & a_min,
real & a_max )
 

Definition at line 456 of file initdouble.C.

Referenced by mkrandom_binary().

local real eccf_Thermal_Distribution ( real e_lower,
real e_upper )
 

Definition at line 418 of file initdouble.C.

Referenced by get_random_eccentricity().

ecc_distribution extract_eccentricity_distribution_type_string ( char * type_string )
 

Definition at line 399 of file initdouble.C.

mass_ratio_distribution extract_mass_ratio_distribution_type_string ( char * type_string )
 

Definition at line 186 of file initdouble.C.

sma_distribution extract_semimajor_axis_distribution_type_string ( char * type_string )
 

Definition at line 278 of file initdouble.C.

real get_random_eccentricity ( real e_lower,
real e_upper,
ecc_distribution eccf,
real exponent )
 

Definition at line 424 of file initdouble.C.

Referenced by mkrandom_binary().

real get_random_mass_ratio ( real q_lower,
real q_upper,
mass_ratio_distribution qf,
real exponent )
 

Definition at line 221 of file initdouble.C.

Referenced by mkrandom_binary().

real get_random_semimajor_axis ( real a_lower,
real a_upper,
sma_distribution smaf,
real exponent,
real m_prim,
real m_sec )
 

Definition at line 345 of file initdouble.C.

Referenced by mkrandom_binary().

void mkrandom_binary ( real m_min,
real m_max,
mass_function mf,
real m_exp,
real q_min,
real q_max,
mass_ratio_distribution qf,
real q_exp,
real a_min,
real a_max,
sma_distribution af,
real a_exp,
real e_min,
real e_max,
ecc_distribution ef,
real e_exp,
real & m_prim,
real & m_sec,
real & semi,
real & ecc )
 

Definition at line 478 of file initdouble.C.

void mksecondary ( node * b,
real binary_fraction,
real lower_limit )
 

Definition at line 125 of file initdouble.C.

void print_initial_binary_distributions ( real m_min,
real m_max,
mass_function mf,
real m_exp,
real q_min,
real q_max,
mass_ratio_distribution qf,
real q_exp,
real a_min,
real a_max,
sma_distribution af,
real a_exp,
real e_min,
real e_max,
ecc_distribution ef,
real e_exp )
 

Definition at line 528 of file initdouble.C.

local real qf_Hogeveen ( real q_lower,
real q_upper )
 

Definition at line 210 of file initdouble.C.

Referenced by get_random_mass_ratio().

local real smaf_Duquenoy_Mayor ( real a_lower,
real a_upper,
real total_mass )
 

Definition at line 302 of file initdouble.C.

Referenced by get_random_semimajor_axis().

local real smaf_Eggleton ( real a_lower,
real a_upper,
real m_prim,
real m_sec )
 

Definition at line 321 of file initdouble.C.

Referenced by get_random_semimajor_axis().

char* type_string ( ecc_distribution eccf )
 

Definition at line 378 of file initdouble.C.

char* type_string ( sma_distribution smaf )
 

Definition at line 254 of file initdouble.C.

char* type_string ( mass_ratio_distribution qf )
 

Definition at line 163 of file initdouble.C.


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