-
Notifications
You must be signed in to change notification settings - Fork 6
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
256 config parser #325
256 config parser #325
Conversation
@K20shores @mattldawson @boulderdaze
|
@dwfncar we can go ahead and delete the old parser with this PR. We don't need to try to maintain backwards compatibility. We can make that a separate PR if you wish, but I would prefer that this is done all at once. |
I agree - it will make this easier to review if the parser can viewed as a diff instead of a separate file. As long as the tests pass I don't think we need to maintain two separate config parsers. We've marked all the version 3.x.x revisions of MICM as part of a refactor and warned people not to expect backwards compatibility across minor versions. |
Yes, I agree with Kyle and Matt. I can update a driver example when the changes made for camp config are merged into main |
Split ParseObjectArray into ParseSpeciesArray and ParseMechanismArray, with all objects (from all config files in the CAMP file list) sorted into to arrays based on type. CHEM_SPEC and RELATIVE_TOLERANCE types are sent to ParseSpeciesArray, all others to ParseMechanismArray. This is similar to what the original parser did. @K20shores @mattldawson @boulderdaze New parser now renamed to the original solver_config. |
Initial PR for a revised implementation of the CAMP config file parser,
camp_config.hpp is intended to replace solver_config.hpp at some point.
Main change is the simultaneous parsing of species and reactions, merged into a config object list
with the JSON read from a CAMP file list in config.json.
Need to consolidate these changes with those from #317