计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
autodiff_pde_residual【效率与协作】Compute Burgers-style PINN residual values and derivative diagnostics from differentiable or analytic surrogate predictions.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery harness needs the physics residual that turns a neural surrogate into a PINN. It is designed for Burgers-equation reduced recovery and can also serve as a template for other PDE residual builders. Do not use it to create data items or perform optimizer steps.
t and x values.nu.u, u_t, u_x, and u_xx.u_t + u * u_x - nu * u_xx.Run python tests/test_residual.py or validate the tree with validate_skill_tree.py --run-tests.
The included script uses an analytic tiny surrogate for deterministic reduced recovery. Full automatic differentiation backends can wrap the same residual contract when available.