|
| PUPable_decl (MillerScalo) |
| Charm++ method for migrating derived classes.
|
|
| MillerScalo (CkMigrateMessage *m) |
| Charm++ migration constructor.
|
|
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 MillerScalo * | clone () const |
| copy IMF object
|
|
virtual void | pup (PUP::er &p) |
| Charm++ Pack-UnPack method.
|
|
| PUPable_abstract (IMF) |
| Charm++ requirement for passing polymorphic objects.
|
|
| IMF (CkMigrateMessage *m) |
| Charm++ migrate constructor.
|
|
Implement Miller-Scalo IMF Uses the 3 segment power law fit for the Miller-Scalo IMF (Ap.J. Supp., 41,1979).
a1*(M**(b1)) 0.1<M<1.
IMF(Log10(M))= a2*(M**(b2)) 1.<M<10.
a3*(M**(b3)) 10.<M
Miller-Scalo IMF (Miller & Scalo, Ap.J. Supp., 41, 513, 1979) in stars per unit logarithmic mass. Divide by M (mass) for IMF in stars per unit mass. Also IMF is defined per yer per pc^2, integrated over a cylinder that extends "several hundred parsecs on
either side of the plane of the galaxy"