|
changa 3.5
|
Interface class for initial mass function. More...
#include <imf.h>
Public Member Functions | |
| virtual double | returnimf (double mass) const =0 |
| return stars per unit logarithmic mass | |
| PUPable_abstract (IMF) | |
| Charm++ requirement for passing polymorphic objects. | |
| IMF (CkMigrateMessage *m) | |
| Charm++ migrate constructor. | |
| virtual void | pup (PUP::er &p)=0 |
| Charm++ Pack-UnPack method. | |
| virtual double | CumNumber (double mass)=0 |
| Cumulative number of stars with mass greater than mass. | |
| virtual double | CumNumberStoch (double mass, double lownorm, double *hmstars, double cutmass)=0 |
| 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 | CumMass (double mass)=0 |
| Cumulative mass of stars with mass greater than mass. | |
| virtual double | CumMassStoch (double mass, double lownorm, double *hmstars, double cutmass)=0 |
| 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)=0 |
| inverse CDF of IMF to draw stars stochastically from the IMF | |
| virtual IMF * | clone () const =0 |
| copy IMF object | |
Interface class for initial mass function.
Modified by Elaad Applebaum to implement a stochastic IMF. Added DrawStar methods NB: So far, only added for Kroupa01
|
pure virtual |
copy IMF object
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.
|
pure virtual |
Cumulative mass of stars with mass greater than mass.
| mass | in solar masses |
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.
|
pure virtual |
CumMass for use with stochastic IMF. NOTA BENE - CumMass for stochastic use returns the actual mass for the star particle - no renormalization necessary.
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.
|
pure virtual |
Cumulative number of stars with mass greater than mass.
| mass | in solar masses |
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.
|
pure virtual |
CumNumber for use with stochastic IMF. NOTA BENE - CumNumber for stochastic use returns the actual number for the star particle - no renormalization necessary.
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.
|
pure virtual |
|
pure virtual |
Charm++ Pack-UnPack method.
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.
|
pure virtual |
return stars per unit logarithmic mass
| mass | in solar masses. |
Implemented in Chabrier, Kroupa01, Kroupa93, and MillerScalo.