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.
Capability adds for ParmParse enum (AMReX-Codes#4119)
## Summary - The ParmParse functions for AMReX Enums added in AMReX-Codes#4069 did not carry the optional arguments found in other ParmParse functions. Those are added so that, for example, querying an enum has the same interface as querying other types. - These functions shouldn't modify the ParmParse object, so they are made `const` - The `prefixedName` function is made a public member instead of a protected member. ## Additional background The use case for these changes is erf-model/ERF#1772
- Loading branch information
Showing
2 changed files
with
63 additions
and
33 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