You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: online-docs/pages/whats-new.rst
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,11 @@ What's new
3
3
4
4
Following is a brief list of important updates to the COMPAS code. A complete record of changes can be found in the file ``changelog.h``.
5
5
6
+
**03.27.02 December 16, 2025**
7
+
8
+
* Fixed a bug in the assignment of kick direction angles
9
+
* Undid replacement of --scale-CHE-mass-loss-with-surface-helium-abundance with the more general --scale-mass-loss-with-surface-helium-abundance (see 03.26.02)
10
+
6
11
**03.26.02 October 27, 2025**
7
12
8
13
* Added option --USSN-kicks-override-mandel-muller ; if set to true, use user-defined USSN kicks (as a fixed value) in lieu of the Mandel & Muller kick prescription for USSNe
// *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
2553
-
}
2554
-
2555
-
// Combine each of these prescriptions according to the OB wind fraction
// If user wants to transition between OB and WR mass loss rates
390
+
if (OPTIONS->ScaleCHEMassLossWithSurfaceHeliumAbundance()) {
391
+
392
+
// Here we are going to pretend that this CH star is an HeMS star by
393
+
// cloning it, so that we can ask it what its mass loss rate would be if it were
394
+
// a HeMS star
395
+
HeMS *clone = HeMS::Clone((HeMS&)static_cast<const CH&>(*this), OBJECT_PERSISTENCE::EPHEMERAL, false); // Do not initialise so that we can use same mass, luminosity, radius etc
396
+
MdotWR = clone->CalculateMassLossRateMerritt2025(); // Calculate WR mass loss rate
397
+
delete clone; clone = nullptr; // return the memory allocated for the clone
398
+
399
+
// Calculate weight for combining these into total mass-loss rate
0 commit comments