-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amrex::ParmParse::dumpTable
shows duplicate values
#4087
Comments
The "issue" here is mainly a conscious choice of WarpX. WarpX processes many ParmParse parameters using Parser first and then explicitly uses I tested with 24.07, which does not have the recent ParmParse changes. It has the same "issue". The only difference is in the old way the entries were not sorted so it was harder to notice. |
For example,
|
For example, with 24.07,
With the current versions, it appears at lines 6 and 7.
|
Haha, so the current version is actually stable/reproducible, showing the latest used value last. Yes, adding an option to remove overwritten values would be a good idea to avoid confusion for codes that want this. |
@JustinRayAngus discovered that since recently, the function
amrex::ParmParse::dumpTable
starts to plot values multiple times, likely because they were changed. The old values should not be shown.Used in WarpX and ImpactX to plot the ultimately used inputs, e.g. here:
https://github.com/ECP-WarpX/WarpX/blob/24.08/Source/ablastr/utils/UsedInputsFile.cpp
The text was updated successfully, but these errors were encountered: