Repository navigation
Conversation
Keep radius and density derived from the stored logarithms throughout the solve. Use log1p of the shell-to-inner volume ratio to evaluate the mass residual without subtracting two absolute log radii.
Check shell mass closure before remeshing on the shared evolution path. Keep the RSP exclusion, use the same guarded check for both velocity formulations, and preserve the saved mesh during photo loading.
Scale density with envelope mass in the TZO core-growth hook and include cell-centered velocity models in fixed-radius mass relaxation. Both edits retain the existing temperature and composition.
Debraheem
force-pushed
the
EbF/feature/improve_lnd_lnR_reconstruction
branch
from
November 26, 2026 20:16
f3080b9 to
3ae80bf
Compare
This was referenced Nov 26, 2026
Debraheem
added a commit
that referenced
this pull request
Nov 26, 2026
Set set_rho_to_dm_div_dV to false during the helium flash and regenerate the TAMS and ZACHeB fixtures. The test reaches HB_limit and passes the subsequent core helium burning check. See #1136 for the reconstruction work.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a draft. In
hb_2M, rebuilding density from rounded radii in a thin shell made the pressure interval in the Brunt term 83 times smaller and stalled the solve. I remap shell volumes directly, use the samelnRandlndmapping in the solver and on restart, and keep the start-of-step density check for changes beyond roundoff. The TZO hook and fixed-radiusu_flagmass scaling now update density where they change the mass.The helium-flash replay reaches stable core helium burning with the relative mass equation enabled. The short tests of both mass edits match with the check on and off and after a photo restart. I’d still like TestHub to cover the full TZO and AMR cases and check energy across remeshing and mass edits. One-page note (PDF)