forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParmParse::prettyPrintTable (AMReX-Codes#4101)
Add a new function that prints the ParmParse table without duplicates. Note that these are not duplicates, because they have different values. foo.bar = 1 foo.bar = 2 These are also not considered duplicates, even though the final results are the same. c = 3 foo.bar = c foo.bar = 3 This should help WarpX to reduce duplicates when printing ParmParse parameters. However, there will still be "duplicates" like below because they are different strings. geometry.prob_hi = 20.e-6 20.e-6 geometry.prob_hi = 2.0000000000000002e-05 2.0000000000000002e-05
- Loading branch information
1 parent
dea2432
commit b05f69f
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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