CPowerlaw Class Reference

#include <imf.h>

Inheritance diagram for CPowerlaw:

Inheritance graph
[legend]
Collaboration diagram for CPowerlaw:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CPowerlaw (double exponent, double lower_mass_bound, double upper_mass_bound)
double get_nstars_frac (double mass, double m_low, double m_high)
double get_nstars_all (double mass)
double calculate_norm (void)
double get_imf_val (double)

Private Member Functions

double moment_zero (double, double)
double moment_first (double, double)

Private Attributes

double exponent
double lower_mass_bound
double upper_mass_bound
double nstarfrac_coeff
double nstarall_coeff
double norm


Detailed Description

Powerlaw imf objects (exponent = 1.35: Salpeter imf)

Member Data Documentation

double CPowerlaw::exponent [private]

power law of the shape x^(-(exponent+1)). exponent-1.35: Salpeter IMF

double CPowerlaw::lower_mass_bound [private]

lower mass bound of the imf

double CPowerlaw::norm [private]

Interpreting the IMF phi(m) as the chance of having a star with mass m, norm is the resulting normalisation constant: {mL}^{mu} (m)dm = 1

double CPowerlaw::nstarall_coeff [private]

coefficient used to get the total number of stars in the SSP

double CPowerlaw::nstarfrac_coeff [private]

coefficient used to get the number of stars in a mass interval

double CPowerlaw::upper_mass_bound [private]

upper mass bound of the imf


The documentation for this class was generated from the following files:

Generated on Fri Oct 16 18:59:58 2009 for HYPLOT by  doxygen 1.5.8