changa 3.5
Loading...
Searching...
No Matches
Chabrier Class Reference

Implement Chabrier IMF Use the log normal + power law fit of Chabrier, 2003, Galactic Stellar and Substellar Initial Mass Function", PASP 115, 763. More...

#include <imf.h>

Inheritance diagram for Chabrier:
IMF

Public Member Functions

virtual double returnimf (double mass) const
 return stars per unit logarithmic mass
 
virtual double CumNumber (double mass)
 Cumulative number of stars with mass greater than mass.
 
virtual double CumMass (double mass)
 Cumulative mass of stars with mass greater than mass.
 
virtual double CumNumberStoch (double mass, double lownorm, double *hmstars, double cutmass)
 CumNumber for use with stochastic IMF. NOTA BENE - CumNumber for stochastic use returns the actual number for the star particle - no renormalization necessary.
 
virtual double CumMassStoch (double mass, double lownorm, double *hmstars, double cutmass)
 CumMass for use with stochastic IMF. NOTA BENE - CumMass for stochastic use returns the actual mass for the star particle - no renormalization necessary.
 
virtual double DrawStar (double num)
 inverse CDF of IMF to draw stars stochastically from the IMF
 
virtual Chabrierclone () const
 copy IMF object
 
 PUPable_decl (Chabrier)
 Charm++ method for migrating derived classes.
 
 Chabrier (CkMigrateMessage *m)
 Charm++ migration constructor.
 
virtual void pup (PUP::er &p)
 Charm++ Pack-UnPack method.
 
- Public Member Functions inherited from IMF
 PUPable_abstract (IMF)
 Charm++ requirement for passing polymorphic objects.
 
 IMF (CkMigrateMessage *m)
 Charm++ migrate constructor.
 

Detailed Description

Implement Chabrier IMF Use the log normal + power law fit of Chabrier, 2003, Galactic Stellar and Substellar Initial Mass Function", PASP 115, 763.

Member Function Documentation

◆ clone()

Chabrier * Chabrier::clone ( ) const
virtual

copy IMF object

Implements IMF.

◆ CumMass()

double Chabrier::CumMass ( double mass)
virtual

Cumulative mass of stars with mass greater than mass.

Parameters
massin solar masses

Implements IMF.

◆ CumMassStoch()

double Chabrier::CumMassStoch ( double mass,
double lownorm,
double * hmstars,
double cutmass )
virtual

CumMass for use with stochastic IMF. NOTA BENE - CumMass for stochastic use returns the actual mass for the star particle - no renormalization necessary.

Implements IMF.

◆ CumNumber()

double Chabrier::CumNumber ( double mass)
virtual

Cumulative number of stars with mass greater than mass.

Parameters
massin solar masses

Implements IMF.

◆ CumNumberStoch()

double Chabrier::CumNumberStoch ( double mass,
double lownorm,
double * hmstars,
double cutmass )
virtual

CumNumber for use with stochastic IMF. NOTA BENE - CumNumber for stochastic use returns the actual number for the star particle - no renormalization necessary.

Implements IMF.

◆ DrawStar()

double Chabrier::DrawStar ( double num)
virtual

inverse CDF of IMF to draw stars stochastically from the IMF

Implements IMF.

◆ pup()

virtual void Chabrier::pup ( PUP::er & p)
inlinevirtual

Charm++ Pack-UnPack method.

Implements IMF.

◆ returnimf()

double Chabrier::returnimf ( double mass) const
virtual

return stars per unit logarithmic mass

Parameters
massin solar masses.

Implements IMF.


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