Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

starbase.h File Reference

Underlying class for star systems, on same level as node. More...

#include "starlab_vector.h"
#include "story.h"
#include "star/star_support.h"
#include "star/double_support.h"

Go to the source code of this file.

Classes

class  starbase
 starbase: The underlying class for stars. More...

Typedefs

typedef starbase *(* sbpfp )()

Enumerations

enum  mass_function {
  Unknown_MF = -1, Equal_Mass, mf_Power_Law, Miller_Scalo,
  Scalo, Kroupa, GdeMarchi
}
enum  mass_ratio_distribution {
  Unknown_qf = -1, Equal_q, Flat_q, qf_Power_Law,
  Hogeveen
}
enum  sma_distribution {
  Unknown_smaf = -1, Equal_sma, sma_Power_Law, Duquennoy_Mayor,
  Eggleton
}
enum  ecc_distribution { Unknown_eccf, Equal_ecc, ecc_Power_Law, Thermal_Distribution }

Functions

starbasenew_starbase ()
real get_random_stellar_mass (real m_lower, real m_upper, mass_function mf, real exponent)
char * type_string (mass_function mf)
mass_function extract_mass_function_type_string (char *type_string)
real general_power_law (real lowerl, real upperl, real exponent)
mass_ratio_distribution extract_mass_ratio_distribution_type_string (char *type_string)
real get_random_mass_ratio (real q_lower, real q_upper, mass_ratio_distribution qf, real exponent)
sma_distribution extract_semimajor_axis_distribution_type_string (char *type_string)
real get_random_semimajor_axis (real a_lower, real a_upper, sma_distribution smaf, real exponent, real m_prim, real m_sec)
ecc_distribution extract_eccentricity_distribution_type_string (char *type_string)
real get_random_eccentricity (real e_lower, real e_upper, ecc_distribution eccf, real exponent)
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)


Detailed Description

Underlying class for star systems, on same level as node.

Definition in file starbase.h.


Generated on Wed Jul 20 12:43:37 2005 for Starlab by  doxygen 1.4.3