-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract generic Navier-Stokes code into 'newtonian.h' (#903)
* feat(fluids): Extract newtownian.h from DC problem - Also trade out `int` for `StabilizationType` enum * style: Fix parameter spacing * feat: Move generic setup from DC -> newtonian - Includes moving from `DCContext` to `NewtonianIdealGasContext` at appropriate locations * feat: Add "still" IC for generic Newtonian IG problems * feat: Move SetupContext from DC -> newtonian.c * fix: Remove unused variables, general cleanup * examples/fluids: remove unnecessary includes * examples/fluids: copy declarations to make newtonian.h self-contained * examples/fluids: full name for context Co-authored-by: Jed Brown <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,000 additions
and
796 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
Oops, something went wrong.