Skip to content

Commit 535608a

Browse files
author
Nicolas Rodriguez-Segovia
committed
Added CalculateCriticalMassRatioHurleyHjellmingWebbink to Remnants.h
1 parent 8e5edf2 commit 535608a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Remnants.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class Remnants: virtual public BaseStar, public HeGB {
4242
double CalculateCriticalMassRatio(const bool p_AccretorIsDegenerate,
4343
const double p_massTransferEfficiencyBeta) { return 0.0; } // Should never be called...
4444

45+
double CalculateCriticalMassRatioHurleyHjellmingWebbink() const { return 0.0; }
46+
4547
void CalculateGBParams(const double p_Mass, DBL_VECTOR &p_GBParams) { GiantBranch::CalculateGBParams(p_Mass, p_GBParams); } // Default to GiantBranch
4648
void CalculateGBParams() { CalculateGBParams(m_Mass0, m_GBParams); } // Use class member variables
4749

src/WhiteDwarfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class WhiteDwarfs: virtual public BaseStar, public Remnants {
5656
const double p_DonorThermalMassLossRate,
5757
const double p_MassLostByDonor);
5858

59-
double CalculateCriticalMassRatioHurleyHjellmingWebbink() const { return HURLEY_HJELLMING_WEBBINK_QCRIT_WD; }
59+
double CalculateCriticalMassRatioHurleyHjellmingWebbink() const { return HURLEY_HJELLMING_WEBBINK_QCRIT_WD; }
6060

6161
double CalculateCOCoreMassOnPhase() const { return m_COCoreMass; } // NO-OP
6262

0 commit comments

Comments
 (0)