Select and configure time integration methods for ODE/PDE simulations. Use when choosing explicit/implicit schemes, setting error tolerances, adapting time steps, or diagnosing integration accuracy and stability issues.
📖 中文导读:Select and configure time integration methods for ODE/PDE simulations. Use when choosing explicit/implicit schemes, setting error tolerances, adapting time steps, or diagnosing integration accuracy and stability issues. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: numerical-integration
description: Select and configure time integration methods for ODE/PDE simulations. Use when choosing explicit/implicit schemes, setting error tolerances, adapting time steps, diagnosing integration accuracy, planning IMEX splitting, or handling stiff/non-stiff coupled systems.
allowed-tools: Read, Bash, Write, Grep, Glob
Numerical Integration
Goal
Provide a reliable workflow to select integrators, set tolerances, and manage adaptive time stepping for time-dependent simulations.
Requirements
Python 3.8+
NumPy (for some scripts)
No heavy dependencies for core functionality
Inputs to Gather
Input
Description
Example
Problem type
ODE/PDE, stiff/non-stiff
stiff PDE
Jacobian available
Can compute ∂f/∂u?
yes
Target accuracy
Desired error level
1e-6
Constraints
Memory, implicit allowed?
implicit OK
Time scale
Characteristic time
1e-3 s
Decision Guidance
Choosing an Integrator
Is the problem stiff?
├── YES → Is Jacobian available?
│ ├── YES → Use Rosenbrock or BDF
│ └── NO → Use BDF with numerical Jacobian
└── NO → Is high accuracy needed?
├── YES → Use RK45 or DOP853
└── NO → Use RK4 or Adams-Bashforth