Skip to content
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

Streamline DG Discretization Interface #152

Merged
merged 7 commits into from
Dec 18, 2023

Conversation

jbreue16
Copy link
Contributor

@jbreue16 jbreue16 commented Nov 17, 2023

This PR addresses issue #144:
We have decided to read the discretization type from a new field discretization/spatial_method. Specification of this field is optional for FV to avoid a breaking change on the main branch. Old scripts using CADET-DG will be broken since the unit_type field does not allow inputs with the "_DG" suffix anymore; instead the discretization/discretization_scheme must be specified (currently as "DG").

TODO:

  • Move DG specification from unit_type field to a field in the discretization group
  • Create new issue: Reimplement a createUnitOperation function in the modelBuilder that does not take a parameterprovider as input
  • Fix test interfaces
  • use NCOL/NPAR for discrete points (with default polydeg) to ensure backwards compatibility if we set DG to the default in the future. Use fields NELEM/PAR_NELEM for elements instead of NCOL/NPARCELL.
  • update documentation according to new interface and no par_radius sensitivity

@jbreue16 jbreue16 changed the title This PR addresses issue #144 Streamline DG Discretization Interface: Issue #144 Nov 17, 2023
@jbreue16 jbreue16 mentioned this pull request Dec 7, 2023
6 tasks
@jbreue16 jbreue16 force-pushed the chore/dg_interface branch 3 times, most recently from e9f5242 to a15e140 Compare December 12, 2023 22:11
@jbreue16 jbreue16 changed the title Streamline DG Discretization Interface: Issue #144 Streamline DG Discretization Interface Dec 18, 2023
@jbreue16 jbreue16 requested a review from schmoelder December 18, 2023 11:58
Copy link
Contributor

@schmoelder schmoelder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jbreue16, I really like it. Maybe in the beginning add a little bit more information on what FV and DG actually are.

doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
doc/interface/spatial_discretization_methods.rst Outdated Show resolved Hide resolved
@jbreue16 jbreue16 merged commit a0fcd73 into cadet:feature/dg Dec 18, 2023
0 of 3 checks passed
@jbreue16 jbreue16 deleted the chore/dg_interface branch December 18, 2023 17:00
jbreue16 added a commit that referenced this pull request Jan 17, 2024
* 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
jbreue16 added a commit to jbreue16/CADET that referenced this pull request Jan 28, 2024
* 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
jbreue16 added a commit that referenced this pull request Feb 20, 2024
* 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
jbreue16 added a commit that referenced this pull request Mar 11, 2024
* 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
jbreue16 added a commit that referenced this pull request Apr 2, 2024
* 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)
jbreue16 added a commit that referenced this pull request Apr 17, 2024
* 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)
jbreue16 added a commit that referenced this pull request Apr 22, 2024
* 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]>
@jbreue16 jbreue16 mentioned this pull request Apr 22, 2024
11 tasks
jbreue16 added a commit that referenced this pull request Apr 22, 2024
* 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]>
jbreue16 added a commit that referenced this pull request Apr 22, 2024
* 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]>
jbreue16 added a commit that referenced this pull request May 5, 2024
* 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]>
jbreue16 added a commit to jbreue16/CADET that referenced this pull request May 8, 2024
* 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]>
jbreue16 added a commit that referenced this pull request May 23, 2024
* 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]>
jbreue16 added a commit to jbreue16/CADET that referenced this pull request May 28, 2024
* 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]>
jbreue16 added a commit to jbreue16/CADET that referenced this pull request May 31, 2024
* 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]>
jbreue16 added a commit to jbreue16/CADET that referenced this pull request Jun 3, 2024
* 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]>
jbreue16 added a commit that referenced this pull request Jun 18, 2024
* 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]>
jbreue16 added a commit that referenced this pull request Jun 18, 2024
* 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]>
jbreue16 added a commit that referenced this pull request Jun 18, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants