forked from trixi-framework/Trixi.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add one-sided local subcell IDP limiting for non-linear variables (tr…
…ixi-framework#1792) * Add positivity limiting of non-linear variables * Revise derivative function call; Add default derivative version * Adapt test to actually test pos limiter for nonlinear variables * Add unit test to test default implementation of variable_derivative * Clean up comments and code * Rename Newton-bisection variables * Implement suggestions * Relocate functions * Add entropy limiters * Update test errors after adding entropy limiting * Fix bug in entropy limiting * Adapt estimated errors after bug fix * Remove doubled code * Rename function * Generalize one-sided limiting (#125) * Start to align both entropy limiters * Adapt calc_bounds_onesided! * Add wrapper function for entropy limiting * Rename keys in Dict * use variable and bound_function as parameter * Use same function for both entropies * First working version of general onesided limiting * Rename minmax limiting to twosided limiting * Update comment * Clean up default vector * Last stuff * Fix unit test * fmt * Fix tests * Correct order * Rework docstring * Rename operator to min_or_max * Call initial check with min_or_max * fmt * Implement suggestions * Remove type stuff * Fix allocations due to non-specialized routine * Add comment to NEWS.md * Remove whitespaces * Implement suggestions * Replace `foreach` with `for` * Fix tests * Use new bounds check reduction for one sided limiter * Adapt tests after last merge of main * Rename `entropy_spec` to `entropy_guermond_etal` * Remove not-needed `tuple` * Adapt nameing changes to tutorial --------- Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
- Loading branch information
Showing
13 changed files
with
394 additions
and
99 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
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
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.