Skip to main content
Run any Skill in Manus
with one click

wave-cfl-checker

Stars5
Forks6
UpdatedMay 22, 2026 at 21:37

Verify that a proposed timestep dt satisfies the element-wise CFL condition dt < 2/sqrt(lambda_max) for the second-order wave equation u_tt = div(c^2 grad u) on a Firedrake mesh, where lambda_max is the largest eigenvalue of the generalized eigenproblem K_e v = lambda M_e v on each cell (M_e: local consistent mass, K_e: local c^2-weighted stiffness). Reports per-element violations with offending cell indices, their lambda_max, and the local time-step bound.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly