Select and apply numerical differentiation schemes for PDE and ODE discretization — generate finite-difference stencils at arbitrary order and accuracy, choose between central, upwind, compact (Pade), and spectral methods, handle boundary stencils, and estimate truncation error scaling. Use when discretizing spatial derivatives, picking a scheme for advection- or diffusion-dominated problems, building custom stencils for nonstandard operators, or comparing dispersion and dissipation properties of candidate schemes, even if the user just says "how do I approximate this derivative" or "my solution is too diffusive."
$npx -y skills add heshamfs/materials-simulation-skills --skill differentiation-schemesInstalls into the current project.
Run `npx skills use "https://github.com/heshamfs/materials-simulation-skills" --skill "heshamfs/materials-simulation-skills/differentiation-schemes"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/heshamfs/materials-simulation-skills" that are relevant to the current task. Run `npx skills add "https://github.com/heshamfs/materials-simulation-skills"` and select the relevant skills, then follow their instructions.