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

Fix cleanup velocity advection fields #296

Merged
merged 4 commits into from
Oct 19, 2023

Conversation

halungge
Copy link
Contributor

@halungge halungge commented Oct 18, 2023

Simplify interfaces to solve_nonhydro.time_step

  • use static edge fields from initialization
  • use internally calculated scaling factors in velocity_advection

@github-actions
Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • cscs-ci run
  • launch jenkins spack

Optional Tests

In case your change might affect downstream icon-exclaim, please consider running

  • launch jenkins icon

For more detailed information please look at CI in the EXCLAIM universe.

@halungge
Copy link
Contributor Author

cscs-ci run

@halungge
Copy link
Contributor Author

launch jenkins spack

@halungge halungge requested a review from OngChia October 18, 2023 15:01
@OngChia
Copy link
Contributor

OngChia commented Oct 18, 2023

Looks good.
I am wondering why the cell_areas, nh_constants, and bdy_divdamp cannot be also removed as input arguments? It is because scal_divdamp cannot be computed properly?

@halungge halungge marked this pull request as ready for review October 19, 2023 07:51
@halungge
Copy link
Contributor Author

Looks good. I am wondering why the cell_areas, nh_constants, and bdy_divdamp cannot be also removed as input arguments? It is because scal_divdamp cannot be computed properly?

They can, I believe. The cell_areas is easy the others need a closer look. The ZFields are the ones that need to be reset per timestep, so cannot be treated as constants inside SolveNonhydro.

@halungge halungge merged commit 93e95bb into main Oct 19, 2023
5 checks passed
@halungge halungge deleted the fix_cleanup_velocity_advection_fields branch October 19, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants