Skip to content

Commit 174b39d

Browse files
committed
Update horizontal_branch to be consistent with previous change
For the transition from thermal to nuclear mass transfer I changed the ::zeta_thermal functions in sub_giant and super_giant, but the same change of course should be in horizontal_branch
1 parent 19c7d87 commit 174b39d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sstar/starclass/horizontal_branch.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ real horizontal_branch::zeta_adiabatic() {
369369
real horizontal_branch::zeta_thermal() {
370370

371371
// return 15;
372+
// (GN Jan 2025) test method to ensure thermal time scale mass transfer until radius back to equilibrium radius
373+
if (effective_radius < 0.98*radius) {
374+
return -10;
375+
}
372376

373377
// (SilT 25 October 2010) new tracks require new zeta
374378
// definition of horizontal branch changed

0 commit comments

Comments
 (0)