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/User guide/docker.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ Bonus Info
140
140
----------
141
141
142
142
Dockerfile
143
-
^^^^^^^^^^
143
+
~~~~~~~~~~
144
144
145
145
The `Dockerfile <https://docs.docker.com/engine/reference/builder/>`__ defines how the docker image is constructed.
146
146
@@ -159,7 +159,7 @@ The Dockerfile for COMPAS consists of 8 layers:
159
159
Dockerfiles usually end with a `CMD` directive specifying the command to run when the container starts. COMPAS does not have a `CMD` directive because some users will run the executable directly, while others will use `runSubmit.py`.
Copy file name to clipboardExpand all lines: online-docs/pages/whats-new.rst
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,15 @@ 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.18.00 Apr 13, 2025**
7
+
8
+
New command line option:
9
+
10
+
* ``--timestep-multipliers`` to enable more granular, phase-dependent, timestep multipliers
11
+
6
12
**03.17.00 Mar 22, 2025**
7
13
8
-
* Added ENVELOPE_STATE_PRESCRIPTION::CONVECTIVE_MASS_FRACTION (default threshold of convective envelope by mass to label envelope
9
-
convective is 0.1, can be set with --convective-envelope-mass-threshold)
14
+
* Added ENVELOPE_STATE_PRESCRIPTION::CONVECTIVE_MASS_FRACTION (default threshold of convective envelope by mass to label envelope convective is 0.1, can be set with --convective-envelope-mass-threshold)
10
15
* Stable mass transfer now conserves angular momentum after accounting for the rotational angular momentum lost or gained by the stars
11
16
* Imposed Keplerian rotation limit on mass-gaining stars:
12
17
* Response depends on the new --response-to-spin-up option
if (utils::Compare(zetaEquilibrium, zetaLobe) > 0 && massDiffDonor > 0.0) { // yes, it's nuclear timescale mass transfer; no need for utils::Compare here
if (m_MassTransferTimescale != MASS_TRANSFER_TIMESCALE::NUCLEAR) { // thermal timescale mass transfer (we will check for dynamically unstable / CE mass transfer later)
2045
+
if (m_MassTransferTimescale != MT_TIMESCALE::NUCLEAR) {// thermal timescale mass transfer (we will check for dynamically unstable / CE mass transfer later)
massDiffDonor = MassLossToFitInsideRocheLobe(this, m_Donor, m_Accretor, betaThermal, 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
m_MassTransferTrackerHistory = MT_TRACKING::NO_MASS_TRANSFER; // Initiating flag, every timestep, to NO_MASS_TRANSFER. If it undergoes to MT or CEE, it should change.
returnstd::max(std::round(dt / TIMESTEP_QUANTUM) * TIMESTEP_QUANTUM, TIDES_MINIMUM_FRACTIONAL_NUCLEAR_TIME * NUCLEAR_MINIMUM_TIMESTEP); // quantised and not less than minimum
returnutils::Compare(bindingEnergy, 0.0) > 0 && utils::Compare(p_EnvMass, 0.0) > 0 ? (G_CGS * m_Mass * MSOL_TO_G * p_EnvMass * MSOL_TO_G) / (m_Radius * RSOL_TO_AU * AU_TO_CM * bindingEnergy) : 1.0; // default to 1.0 (usual lambda default) if binding energy is not sensible [should never happen] or if envelope mass is not positive [can be zero]
: 1.0; // default to 1.0 (usual lambda default) if binding energy is not sensible [should never happen] or if envelope mass is not positive [can be zero]
0 commit comments