-
Notifications
You must be signed in to change notification settings - Fork 238
Time-stepper cleanup and modularization #505
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
Conversation
… algorithm so new timesteppers can more easily be defined
Codecov Report
@@ Coverage Diff @@
## master #505 +/- ##
=========================================
- Coverage 72.73% 72.33% -0.4%
=========================================
Files 37 39 +2
Lines 1720 1717 -3
=========================================
- Hits 1251 1242 -9
- Misses 469 475 +6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay for more modules. Just left a couple of minor comments.
…leanup Time-stepper cleanup and modularization Former-commit-id: 525d5c0
This PR moves the time stepping functionality into a module and refactors and orthogonalizes the time-stepping algorithm to make it easier to implement new time steppers.
It also introduces a macro
@loop_xyz
that copy-pastes code to specify a 3D loop, reducing a lot of boiler plate.There is also a new function
compute_w_from_continuity!(model)
that a user might employ to ensure their initial velocity field is non-divergent.Resolves #485
Resolves #461
Probably resolves #448