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

Make test_energybudgets great again #105

Merged
merged 7 commits into from
Sep 11, 2020

Conversation

navidcy
Copy link
Member

@navidcy navidcy commented Sep 10, 2020

Fixes #104 --- a . was missing! :)

This PR also changes the way numerical tendencies for energy/enstrophy budget are computed for deterministic forcing tests. Now tendencies are computed via second-order accurate centered finite differences (instead of first-order forward difference) giving smaller residuals. This will not increase accuracy in the stochastically forced cases since forcing is temporally delta-correlated.

@navidcy navidcy marked this pull request as ready for review September 10, 2020 04:52
@navidcy navidcy requested a review from glwagner September 10, 2020 04:53
@navidcy navidcy added 🐞 bug Something isn't working 🪤 tests labels Sep 10, 2020
@navidcy navidcy merged commit eb7bf84 into master Sep 11, 2020
@navidcy navidcy deleted the fixdeterministicforcingbudgetstests branch September 18, 2020 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🪤 tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_twodnavierstokes_deterministicforcingbudgets does not really test anything
2 participants