-
Notifications
You must be signed in to change notification settings - Fork 27
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
clean model configuration #177
Conversation
@sleweke @schmoelder you think this is good to be squashed and merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR addresses some long standing inconsistencies in the interface while also ensuring backwards compatibility. For future modifications, we should instead refer to the CADET-Specification repo (still WIP) and make sure to update the spec to the currently supported spec version of CADET-Core.
9d6a3e9
to
2ba7fa7
Compare
Some model parameters were written in the discretization group and are moved to the model group. Backwards compatibility of the interface is ensured. See #177 Move NBOUND from discretization to unit_XXX Move NPARTYPE from discretization to unit_XXX Move PAR_GEOM from discretization to unit_XXX
2ba7fa7
to
c8317a7
Compare
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177)
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177)
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to cadet#177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to cadet#177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to cadet#177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to cadet#177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
* Change DG unit interfaces from unit_type suffix to discretization specification * Infer DG disc from NCOL and NPAR and set default values * Rename DG element fields to nelem and par_nelem * Fix test interfaces, i.e. adjust to createUnitOperation function * Improve parameter interface DG units (according to #177) Co-authored-by: sleweke <[email protected]>
We should separate all model parameters from discretization parameters in the input file (fixes #176 ).
This should not be a breaking change so we have to make sure that the old interface is read when the new one is not present.
Move NBOUND from discretization to unit_XXX
Move NPARTYPE from discretization to unit_XXX
Move PAR_GEOM from discretization to unit_XXX