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
{{ message }}
Repository navigation
Commit 8baceed
Browse filesBrowse the repository at this point in the historyBrowse files
* Fix composition increments and Newton backtracking state
* Keep other solver variables consistent with equation evaluations
Synchronize solver_dx when the native checks correct RSP2 w, clip
alpha_RTI, or bound w_div_w_crit_roche. Update dxh_alpha_RTI as well
so the RTI time term uses the evaluated alpha_RTI.
Replace the unreachable negative alpha_RTI check after max(0, x)
with a comparison against the raw trial value. Retain stored changes
when the physical variable is unchanged.
* Relax the hydrogen timestep limit and update solver test cases
Set dX_div_X_limit(1) to 10 by default and keep the relative abundance
checks active above 1. Remove redundant 1M controls and the explicit
relative limits in the thermohaline and C13 pocket cases.
Keep the full 1M runner enabled and preserve PGSTAR. Use fully
implicit burning in the 20M case, retain its comparison controls,
and restore normal profile intervals with solver progress output off.
Remove the run_all restart recommendation from the massive star READMEs.
* Average composition corrections independently in each cell
* Differentiate the ppII and ppIII branching fractions
Include the temperature and density response of the Be7 capture branching fractions in the combined pp rates. Retain the rate values and constant half-branch behavior for negligible capture rates.
Validation: the same-state heating derivative discrepancy falls from about 9e-7 to 1e-12 in the scaled energy equation. The rate-value evaluations are unchanged.
* Count each equation once in the solver residual average
The full equation loop already includes composition. Remove the obsolete
composition pass so each included residual contributes once to the mean.
Maximum residuals, equation weights and the Newton system are unchanged.
The older structural loop and separate composition loop were disjoint in
r1396. Duplicate counting is present by r3731 and predates public Git
history, so no introducing PR has been verified.
The extracted sizequ passed 57 numerical checks covering weighted means,
ignored equations, maximum residuals and nonfinite inputs.
* refactor c13_pocket interpulse check, ignore equL in ppisn, disable fd partials in 20M, update standard mod files.
* update tzo standard mod file
* fix pisn: move c-depletion stopping condiiton further to prevent He-shell merger post-stripping from undoing gamma1 instability and stalling the marger + speed ups
* add changelog entry and update ppisn standard mod file
* Reduce Newton solver overhead by saving corrections only for line searches
Copy file name to clipboardExpand all lines: docs/source/changelog.rst
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,25 @@ Other Changes
167
167
168
168
`mesa/binary` now no longer copies the binary history columns into the star history by default. Set `append_to_star_history = .true.` to reenable this feature. All binary history data is still saved to `history_name` defined in section `&binary_controls`.
169
169
170
+
Improvements and bug fixes in MESA's Newton solver allow it to converge with
171
+
larger timesteps. The default for ``dX_div_X_limit(1)`` has been changed from
172
+
0.9 to 10, allowing larger relative changes in hydrogen abundance at moving
173
+
burning fronts. The helium luminosity timestep limit acts earlier to resolve
174
+
the onset of flashes. The default for ``lgL_He_burn_min`` has been changed
175
+
from 2.5 to -0.5, and the default for ``lgL_He_burn_relative_limit`` from 3 to 5.
176
+
See `gh-1112 <https://github.com/MESAHub/mesa/pull/1112>`_.
177
+
178
+
Test Suite
179
+
----------
180
+
181
+
- In ``1M_pre_ms_to_wd``, a run with ``dX_div_X_limit(1) = 50d0`` on the red
182
+
giant branch reaches the onset of the core helium flash in an order
183
+
of magnitude fewer timesteps. See `gh-1112 <https://github.com/MESAHub/mesa/pull/1112>`_.
184
+
- ``20M_pre_ms_to_core_collapse`` uses fully implicit burning through core collapse.
185
+
- ``c13_pocket`` counts pulses with third dredge up and starts the pocket
186
+
calculation at helium shell ignition after an interpulse. The thermal pulse
187
+
cycle completes in half as many timesteps as in previous MESA versions.
0 commit comments