Skip to content

Commit 7863d35

Browse files
author
Nicolas Rodriguez-Segovia
committed
Implemented merger for unstable MT from WDs when the HURLEY_HJELLMING_WEBBING qCrit prescription is enabled
1 parent 168e81d commit 7863d35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/BaseBinaryStar.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,9 @@ void BaseBinaryStar::CalculateMassTransfer(const double p_Dt) {
20862086
// NOTE: Critical mass ratio is defined as mAccretor/mDonor
20872087
double qCrit = m_Donor->CalculateCriticalMassRatio(m_Accretor->IsDegenerate(), m_FractionAccreted);
20882088
isUnstable = utils::Compare((m_Accretor->Mass() / m_Donor->Mass()), qCrit) < 0;
2089+
if ((OPTIONS->QCritPrescription() == QCRIT_PRESCRIPTION::HURLEY_HJELLMING_WEBBINK) && (m_Donor->IsOneOf(WHITE_DWARFS))) {
2090+
m_Flags.stellarMerger = true;
2091+
}
20892092
}
20902093
else { // determine stability based on zetas
20912094
isUnstable = (utils::Compare(m_ZetaStar, m_ZetaLobe) < 0);

0 commit comments

Comments
 (0)