Skip to content

Commit 5bbe932

Browse files
author
Ilya Mandel
committed
Checks
1 parent dd587bf commit 5bbe932

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BaseBinaryStar.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,6 +2063,7 @@ void BaseBinaryStar::CalculateMassTransfer(const double p_Dt) {
20632063

20642064
std::tie(std::ignore, m_FractionAccreted) = m_Accretor->CalculateMassAcceptanceRate(donorMassLossRateThermal,
20652065
m_Accretor->CalculateThermalMassAcceptanceRate(accretorRLradius), donorIsHeRich);
2066+
std::cout<<"donor mass"<<m_Donor->Mass()<<"donorMassLossRateThermal"<<donorMassLossRateThermal<<"acc"<<m_Accretor->CalculateThermalMassAcceptanceRate(accretorRLradius)<<"m_Frac"<<m_FractionAccreted<<std::endl;
20662067
double massDiffDonor = MassLossToFitInsideRocheLobe(this, m_Donor, m_Accretor, m_FractionAccreted, 0.0); // use root solver to determine how much mass should be lost from the donor to allow it to fit within the Roche lobe, fixed beta
20672068

20682069
// can the mass transfer happen on a nuclear timescale?
@@ -2091,6 +2092,7 @@ void BaseBinaryStar::CalculateMassTransfer(const double p_Dt) {
20912092
m_ZetaStar = m_Donor->CalculateZetaAdiabatic();
20922093
m_MassLossRateInRLOF = donorMassLossRateThermal;
20932094
m_MassTransferTimescale = MT_TIMESCALE::THERMAL;
2095+
std::cout<<"massDiffDonor"<<massDiffDonor<<"m_FractionAccreted"<<m_FractionAccreted<<std::endl;
20942096
}
20952097

20962098
double aInitial = m_SemiMajorAxis; // semi-major axis in default units, AU, current timestep

0 commit comments

Comments
 (0)