changa  3.5
 All Classes Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | List of all members
MillerScalo Class Reference

Implement Miller-Scalo IMF Uses the 3 segment power law fit for the Miller-Scalo IMF (Ap.J. Supp., 41,1979). More...

#include <imf.h>

Inheritance diagram for MillerScalo:
IMF

Public Member Functions

 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 More...
 
virtual double CumNumber (double mass)
 Cumulative number of stars with mass greater than mass. More...
 
virtual double CumMass (double mass)
 Cumulative mass of stars with mass greater than mass. More...
 
virtual MillerScaloclone () const
 copy IMF object
 
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 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"

Member Function Documentation

double MillerScalo::CumMass ( double  mass)
virtual

Cumulative mass of stars with mass greater than mass.

Parameters
massin solar masses

Implements IMF.

double MillerScalo::CumNumber ( double  mass)
virtual

Cumulative number of stars with mass greater than mass.

Parameters
massin solar masses

Implements IMF.

double MillerScalo::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: