Skip to content

Commit

Permalink
Update BaseBinaryStar.cpp
Browse files Browse the repository at this point in the history
Comment update
  • Loading branch information
ilyamandel authored Nov 24, 2024
1 parent b3e67b2 commit 560e5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BaseBinaryStar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1644,13 +1644,13 @@ void BaseBinaryStar::ResolveCommonEnvelopeEvent() {

if (envelopeFlag1) {
m_Star1->ResolveEnvelopeLossAndSwitch(); // resolve envelope loss for star1 and switch to new stellar type
m_Star1->SetOmega(omegaSpin1_pre_CE); // restore core spin after envelope loss
m_Star1->SetOmega(omegaSpin1_pre_CE); // keep the rotation frequency of the core equal to the pre-envelope-loss rotation frequency
m_MassTransferTrackerHistory = MT_TRACKING::CE_1_TO_2_SURV;
}

if (envelopeFlag2) {
m_Star2->ResolveEnvelopeLossAndSwitch(); // resolve envelope loss for star1 and switch to new stellar type
m_Star2->SetOmega(omegaSpin2_pre_CE); // restore core spin after envelope loss
m_Star2->SetOmega(omegaSpin2_pre_CE); // keep the rotation frequency of the core equal to the pre-envelope-loss rotation frequency
m_MassTransferTrackerHistory = MT_TRACKING::CE_2_TO_1_SURV;
}

Expand Down

0 comments on commit 560e5d6

Please sign in to comment.