1 #ifndef STARTIME_H_INCLUDED
2 #define STARTIME_H_INCLUDED
31 mutable double a0, a1, a2;
32 double zmin, zmax, zsol, xoxsol;
33 void CoefInit (
double dMetals)
const;
35 Padova() : a00(10.13), a01(0.07547), a02(-0.008084),
36 a10(-4.424),a11(-0.7939), a12(-0.1187),
37 a20(1.262),a21(0.3385),a22(0.05417),
38 a0(0.0), a1(0.0), a2(0.0),
39 zmin(7e-5), zmax(3e-2), zsol(0.02), xoxsol(9e-3) {}
41 double Lifetime(
double dStarMass,
double dMetals)
const;
42 double StarMass(
double dStarLtime,
double dMetals)
const;
43 void pup(PUP::er& p) {
routines to calculate stellar lifetimes as a function of mass and metalicity.
Definition: starlifetime.h:27