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

add precommfillderived #889

Merged
merged 5 commits into from
Jun 19, 2023
Merged

add precommfillderived #889

merged 5 commits into from
Jun 19, 2023

Conversation

Yurlungur
Copy link
Collaborator

@Yurlungur Yurlungur commented Jun 15, 2023

PR Summary

This is a feature used by riot, that we'd like to bring into the parthenon develop branch, as we push towards bringing riot onto "standard" parthenon.

The basic idea here is that if you want to communicate derived quantities in ghost zones, for example pressure, you need to compute them first. You can do so in the precomm fill derived, which is a separate task the user can call if desired. This may also be interesting for the AthenaPK folks as a way to do pressure or other pimitive-based prolong/restrict if desired.

PR Checklist

  • Code passes cpplint
  • New features are documented.
  • Adds a test for any bugs fixed. Adds tests for new features.
  • Code is formatted
  • Changes are summarized in CHANGELOG.md
  • CI has been triggered on Darwin for performance regression tests.
  • Docs build
  • (@lanl.gov employees) Update copyright on changed files

@Yurlungur Yurlungur added the enhancement New feature or request label Jun 15, 2023
@Yurlungur Yurlungur self-assigned this Jun 15, 2023
Copy link
Collaborator

@pdmullen pdmullen left a comment

Choose a reason for hiding this comment

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

LGTM!

src/mesh/mesh.cpp Outdated Show resolved Hide resolved
Co-authored-by: Patrick Mullen <33095288+pdmullen@users.noreply.github.com>
Copy link
Collaborator

@lroberts36 lroberts36 left a comment

Choose a reason for hiding this comment

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

LGTM

@Yurlungur
Copy link
Collaborator Author

Tests are failing with a segfault for some reason. Will chase it down.

@Yurlungur
Copy link
Collaborator Author

Segfault fixed.

@Yurlungur Yurlungur enabled auto-merge June 19, 2023 15:36
@Yurlungur Yurlungur merged commit 55b5461 into develop Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants