Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/documentation/equations.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ Primitive variable reconstruction is used to avoid spurious oscillations at inte
2. **MC (Monotonized Central):** \f$\phi = \text{sign}(a)\,\min(2|a|,\;2|b|,\;\frac{1}{2}(|a|+|b|))\f$ if \f$ab > 0\f$
3. **OSPRE (Van Albada):** \f$\phi = (a^2 b + a b^2)/(a^2 + b^2)\f$
4. **Van Leer:** \f$\phi = 2ab/(a + b)\f$ if \f$ab > 0\f$
5. **Superbee:** \f$\phi = \max(\min(2|a|,|b|),\;\min(|a|,2|b|))\f$ if \f$ab > 0\f$
5. **Superbee:** \f$\phi = \text{sign}(a)\,\max(\min(2|a|,|b|),\;\min(|a|,2|b|))\f$ if \f$ab > 0\f$

where \f$a\f$ and \f$b\f$ are the left and right slope differences.

Expand Down
1 change: 1 addition & 0 deletions src/simulation/m_muscl.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ contains
slope = -1._wp*min(-min(2._wp*abs(slopeL), abs(slopeR)), -min(abs(slopeL), &
& 2._wp*abs(slopeR)))
end if
if (slopeL < 0._wp) slope = -slope
end if

! reconstruct from left side
Expand Down
141 changes: 90 additions & 51 deletions tests/01DC0251/golden-metadata.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/01DC0251/golden.txt

Large diffs are not rendered by default.

Loading
Loading