File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2132,14 +2132,14 @@ void BaseBinaryStar::ResolveMassChanges() {
21322132
21332133 // update mass of star1 according to mass loss and mass transfer, then update age accordingly
21342134 (void )m_Star1->UpdateAttributes (m_Star1->MassPrev () - m_Star1->Mass () + m_Star1->MassLossDiff () + m_Star1->MassTransferDiff (), 0.0 ); // update mass for star1
2135- m_Star1->UpdateInitialMass (); // update effective initial mass of star1 (MS, HG & HeMS, HeHG )
2135+ m_Star1->UpdateInitialMass (); // update effective initial mass of star1 (MS, HG & HeMS)
21362136 m_Star1->UpdateAgeAfterMassLoss (); // update age of star1
21372137 m_Star1->ApplyMassTransferRejuvenationFactor (); // apply age rejuvenation factor for star1
21382138 m_Star1->UpdateAttributes (0.0 , 0.0 , true );
21392139
21402140 // rinse and repeat for star2
21412141 (void )m_Star2->UpdateAttributes (m_Star2->MassPrev () - m_Star2->Mass () + m_Star2->MassLossDiff () + m_Star2->MassTransferDiff (), 0.0 ); // update mass for star2
2142- m_Star2->UpdateInitialMass (); // update effective initial mass of star 2 (MS, HG & HeMS, HeHG )
2142+ m_Star2->UpdateInitialMass (); // update effective initial mass of star 2 (MS, HG & HeMS)
21432143 m_Star2->UpdateAgeAfterMassLoss (); // update age of star2
21442144 m_Star2->ApplyMassTransferRejuvenationFactor (); // apply age rejuvenation factor for star2
21452145 m_Star2->UpdateAttributes (0.0 , 0.0 , true );
Original file line number Diff line number Diff line change @@ -1842,7 +1842,7 @@ void BaseStar::ResolveMassLoss() {
18421842 m_COCoreMass=std::min (m_COCoreMass,m_Mass); // Not expected, only a precaution to avoid inconsistencies
18431843 m_CoreMass=std::min (m_CoreMass, m_Mass);
18441844
1845- UpdateInitialMass (); // update effective initial mass (MS, HG & HeMS, HeHG )
1845+ UpdateInitialMass (); // update effective initial mass (MS, HG & HeMS)
18461846 UpdateAgeAfterMassLoss (); // update age (MS, HG & HeMS)
18471847 ApplyMassTransferRejuvenationFactor (); // apply age rejuvenation factor
18481848 }
You can’t perform that action at this time.
0 commit comments