Skip to content

Commit ffb4250

Browse files
author
Ilya Mandel
committed
ComputeZetaEquilibrium() fix
1 parent d63a489 commit ffb4250

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/FGB.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class FGB: virtual public BaseStar, public HG {
7373

7474
double CalculateTauAtPhaseEnd() const { return m_Tau; } // NO-OP
7575
double CalculateTauOnPhase() const;
76+
77+
double CalculateZetaEquilibrium() { return 0.0; } // At lowest order, giants with a convective envelope have radii that are insensitive to mass loss (but see Hurley+ 2002, Eq. 56 and Hurley+ 2000, Eq. 47)
7678

7779
double ChooseTimestep(const double p_Time) const;
7880

src/GiantBranch.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ class GiantBranch: virtual public BaseStar, public MainSequence {
120120

121121
void CalculateTimescales(const double p_Mass, DBL_VECTOR &p_Timescales);
122122
void CalculateTimescales() { CalculateTimescales(m_Mass0, m_Timescales); } // Use class member variables
123-
124-
double CalculateZetaEquilibrium() { return 0.0; } // At lowest order, giants with a convective envelope have radii that are insensitive to mass loss (but see Hurley+ 2002, Eq. 56 and Hurley+ 2000, Eq. 47)
125123

126124
double CalculateZetaConstantsByEnvelope(ZETA_PRESCRIPTION p_ZetaPrescription);
127125
double CalculateZetaConvectiveEnvelopeGiant(ZETA_PRESCRIPTION p_ZetaPrescription);

0 commit comments

Comments
 (0)