Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

makemass.C File Reference

#include "node.h"

Go to the source code of this file.

Defines

#define MAXIMUM_ZAMS_MASS   100
#define SEED_STRING_LENGTH   256

Functions

local real mf_Miller_Scalo (real m_lower, real m_upper)
local real tapered_power_law (real m, const real x1=-1.35, const real x2=2.4, const real mbreak=0.25)
local real mf_GdeMarchi (real m_lower, real m_upper)
local real mf_Scalo (real m_lower, real m_upper)
local real Kroupa_Tout_Gilmore (real m_lower, real m_upper)
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)


Define Documentation

#define MAXIMUM_ZAMS_MASS   100
 

Definition at line 40 of file makemass.C.

#define SEED_STRING_LENGTH   256
 

Definition at line 41 of file makemass.C.


Function Documentation

local real Kroupa_Tout_Gilmore ( real m_lower,
real m_upper )
 

Definition at line 109 of file makemass.C.

Referenced by get_random_stellar_mass().

mass_function extract_mass_function_type_string ( char * type_string )
 

Definition at line 190 of file makemass.C.

real general_power_law ( real lowerl,
real upperl,
real exponent )
 

Definition at line 216 of file makemass.C.

Referenced by get_random_eccentricity(), get_random_mass_ratio(), get_random_semimajor_axis(), and get_random_stellar_mass().

real get_random_stellar_mass ( real m_lower,
real m_upper,
mass_function mf,
real exponent )
 

Definition at line 121 of file makemass.C.

local real mf_GdeMarchi ( real m_lower,
real m_upper )
 

Definition at line 71 of file makemass.C.

Referenced by get_random_stellar_mass().

local real mf_Miller_Scalo ( real m_lower,
real m_upper )
 

Definition at line 48 of file makemass.C.

local real mf_Scalo ( real m_lower,
real m_upper )
 

Definition at line 98 of file makemass.C.

local real tapered_power_law ( real m,
const real x1 = -1.35,
const real x2 = 2.4,
const real mbreak = 0.25 )
 

Definition at line 62 of file makemass.C.

Referenced by mf_GdeMarchi().

char* type_string ( mass_function mf )
 

Definition at line 160 of file makemass.C.


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