Skip to content

Commit 5790d01

Browse files
author
Ilya Mandel
committed
Cleaning
1 parent 21b1e07 commit 5790d01

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/BaseStar.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,10 +2549,7 @@ double BaseStar::EnhanceWindsWithWolfRayetContribution (double p_OtherWindsRate,
25492549

25502550
if (p_RecalculateWolfRayetRate && fractionWR > 0.0 ) {
25512551
MdotWR = BaseStar::CalculateMassLossRateWolfRayetZDependent(0.0);
2552-
// *Jeff* This used to have the code below instead; I'd prefer a static function to calculate the luminosity of the WR star.
2553-
//HeMS *clone = HeMS::Clone((HeMS&)static_cast<const MainSequence&>(*this), OBJECT_PERSISTENCE::EPHEMERAL, false); // Do not initialise so that we can use same mass, luminosity, radius etc
2554-
//MdotWR = clone->CalculateMassLossRateMerritt2025(); // Calculate WR mass loss rate
2555-
//delete clone; clone = nullptr; // return the memory allocated for the clone
2552+
// *Jeff* This used to clone the star as a HeMS star and query its CalculateMassLossRateMerritt2025(); eventually, let's switch to a static function to calculate the luminosity of the WR star
25562553
}
25572554

25582555
// Combine each of these prescriptions according to the OB wind fraction

0 commit comments

Comments
 (0)