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 option to apply sources consecutively #710

Merged
merged 6 commits into from
Dec 15, 2019

Conversation

maxpkatz
Copy link
Member

PR summary

This new option allows you to add sources to the state as they are calculated, rather than grouping them together at the end. Its purpose is to allow sources that come at the end, in particular the sponge and the external source term, to act on the state after the actual physics source terms have already been applied.

PR checklist

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

@maxpkatz maxpkatz marked this pull request as ready for review December 14, 2019 19:55
@zingale
Copy link
Member

zingale commented Dec 14, 2019

this breaks SDC. We need an interface where we can just get the sources without applying them.

@maxpkatz
Copy link
Member Author

The SDC-related failures are here.

http://groot.astro.sunysb.edu/Castro/test-suite/gfortran/2019-12-14/index.html

I have updated the interfaces and disabled applying the sources for SDC.

@zingale
Copy link
Member

zingale commented Dec 15, 2019

SDC tests pass now

@zingale zingale merged commit 51240dc into development Dec 15, 2019
@zingale zingale deleted the apply_sources_consecutively branch December 15, 2019 00:56
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