You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``SALPETER`` and ``KROUPA`` use the IMFs of Salpeter 1955 and Kroupa 2001 |br|
521
+
``SALPETER`` and ``KROUPA`` use the IMFs of Salpeter 1955 and Kroupa 2001, bounded by ``--initial-mass-function-min`` and ``--initial-mass-function-max`` |br|
522
522
``POWERLAW`` is a single power law with slope ``--initial-mass-function-power`` |br|
523
523
``UNIFORM`` is a uniform distribution between ``--initial-mass-function-min`` and ``--initial-mass-function-max`` |br|
524
524
Default = KROUPA
@@ -1495,7 +1495,7 @@ Go to :ref:`the top of this page <options-props-top>` for the full alphabetical
mDot= mDot * OPTIONS->OverallWindMassLossMultiplier(); // apply overall wind mass loss multiplier
2568
+
mDot*= OPTIONS->OverallWindMassLossMultiplier();// apply overall wind mass loss multiplier
2569
2569
}
2570
2570
2571
2571
mDot = min(mDot, MAXIMUM_WIND_MASS_LOSS_RATE); // cap winds at a maximum mass loss rate (typically 0.1 solar masses per year) to avoid convergence issues
if (OPTIONS->UseMassLoss()) { //only if using mass loss (program option)
2602
-
2601
+
if (OPTIONS->MassLossPrescription() != MASS_LOSS_PRESCRIPTION::ZERO) { // mass loss enabled?
2602
+
// yes
2603
2603
doublemDot = CalculateMassLossRate(); // calculate mass loss rate
2604
2604
double massLoss = max(0.0, mDot * p_Dt * 1.0E6); // calculate mass loss; mass loss rate given in Msol per year, times are in Myr so need to multiply by 10^6
2605
2605
if (p_UpdateMDot) m_Mdot = mDot; // update class member variable if necessary
("Whether to transition mass loss rates for chemically homogeneously evolving (CHE) stars between OB mass loss rates and Wolf-Rayet (WR) mass loss rates as a function of the surface helium abundance (Ys) as described by Yoon et al. 2006 (default = " + std::string(p_Options->m_ScaleCHEMassLossWithSurfaceHeliumAbundance ? "TRUE" : "FALSE") + ")").c_str()
0 commit comments