Skip to content

Guide to limiters: fix MC limiter and WENO; update to Python 3 - #6

Merged
ketch merged 1 commit into
masterfrom
fix-limiters-guide
Nov 22, 2026
Merged

ketch merged 1 commit into
masterfrom
fix-limiters-guide

Conversation

@ketch

@ketch ketch commented Nov 22, 2026

Copy link
Copy Markdown
Owner
  • MC limiter: use 2*theta (formula and code).
  • WENO: use point-value interpolation consistently. Compute optimal weights and smoothness indicators directly instead of with PyWENO, whose coefficients are for cell averages and number stencils from the right. Fix the stencil labels and the smoothness-indicator formula.
  • Correct the statements about total variation and show the TV of each interpolant; guard against division by zero in the limited slopes.
  • Remove plt.hold, JSAnimation, and Python 2 code; seed the random WENO example; reorder two WENO cells; print advection errors; fix typos and update links.

- MC limiter: use 2*theta (formula and code).
- WENO: use point-value interpolation consistently.  Compute optimal
  weights and smoothness indicators directly instead of with PyWENO,
  whose coefficients are for cell averages and number stencils from the
  right.  Fix the stencil labels and the smoothness-indicator formula.
- Correct the statements about total variation and show the TV of each
  interpolant; guard against division by zero in the limited slopes.
- Remove plt.hold, JSAnimation, and Python 2 code; seed the random WENO
  example; reorder two WENO cells; print advection errors; fix typos and
  update links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ketch
ketch merged commit 7be8ad0 into master Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant