-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compressible: add a get_external_sources method (#290)
this will make it easier to do external sources problem-by-problem For the conservative update, we now do a predictor-corrector, in the same fashion as Castro: * U^{n+1,*} = U^n - dt [div{F}]^{n+1/2} + dt S^n * S^{n+1} = S(U^{n+1,*}) * U^{n+1} = U^{n+1,*} + dt/2 (S^{n+1} - S^n) and we construct the gravity part of S^{n+1} to give us the implicit update.
- Loading branch information
Showing
3 changed files
with
100 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters