Repository navigation
Remove the inert ib_smooth_contact parameter - #2528
Merged
sbryngelson merged 1 commit intoNov 27, 2026
Merged
Conversation
MFlowCode#2517 made HLLC use the central tangential velocity in the viscous work everywhere, so ib_smooth_contact had no effect. Remove it from the registry, descriptions, validator AMR lists, Fortran default and docs. Case files that still set it get an 'it was removed ... delete it from the case file' error (new REMOVED_PARAMS next to RENAMED_PARAMS), with a unit test.
Lines of Code
|
|
Claude Code Review Head SHA: 86bf520 No review was produced. Claude ran but wrote no review (Claude step: failure). Run and transcript: https://github.com/MFlowCode/MFC/actions/runs/45918210430 |
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.
Removes
ib_smooth_contact. Since #2517 (HLLC uses the central tangential velocity in the viscous work everywhere) the option has had no effect; it was kept only so older case files would still run.1. Does it solve the problem?
definitions.py, both entries),descriptions.py, the validator's AMR inert and vetted lists, its Fortran default inm_global_parameters.fpp, and the docs (case.mdtable row and option paragraph,ibm.md). Its declaration and namelist entry are generated from the registry, so they go with it; nothing else insrc/referenced it.Unknown parameter 'ib_smooth_contact': it was removed (it had no effect once HLLC used the central tangential velocity in the viscous work (#2517)); delete it from the case file. This addsREMOVED_PARAMSnext to the existingRENAMED_PARAMSintoolchain/mfc/params/errors.py, with a unit test.validation_burning_body.mdstays as a past measurement, marked "(an option since removed)".2. Does it create another one?
./mfc.sh precheck7/7 (formatting, spelling, toolchain and source lint, doc references, parameter docs, all example cases valid); new unit testtest_removed_param_says_whysrc/change deletes one default assignment of an unused variable; CI's Build & Verify compiles every target3. Is it slower?
N/A: the
src/change deletes the default assignment of a variable nothing read; no executed code changes.This PR was made with Claude Code (AI).