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 geometric source terms for 2D spherical geometry #2955

Merged
merged 6 commits into from
Sep 10, 2024

Conversation

zhichen3
Copy link
Collaborator

PR summary

This pr adds the geometric source terms of the momentum equation for 2D spherical (R-Theta) coordinate caused by local unit vectors. This is intended to deal with issue #2927

PR motivation

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level
  • all newly-added functions have docstrings as per the coding conventions
  • the CHANGES file has been updated, if appropriate
  • if appropriate, this change is described in the docs

Castro::construct_old_geom_source([[maybe_unused]]MultiFab& source,
[[maybe_unused]]MultiFab& state_in,
[[maybe_unused]]Real time,
[[maybe_unused]]Real dt)
Copy link
Member

Choose a reason for hiding this comment

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

I think we decided once that we prefer to use

amrex::ignore_unused(state_in);

to [[maybe_unused]] in the interface

@zingale
Copy link
Member

zingale commented Sep 10, 2024

this looks good to me

@zhichen3 zhichen3 marked this pull request as ready for review September 10, 2024 21:11
@zingale zingale merged commit 45f0991 into AMReX-Astro:development Sep 10, 2024
25 checks passed
@zingale zingale mentioned this pull request Sep 12, 2024
14 tasks
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