Agent Skills › parcadei/Continuous-Claude-v3 › boundary-value-problems

boundary-value-problems

GitHub

提供ODE/PDE边值问题的求解策略,涵盖问题分类、打靶法、有限差分法及配置法,并集成SciPy和SymPy工具命令辅助数值计算与符号求解。

.claude/skills/math/odes-pdes/boundary-value-problems/SKILL.md parcadei/Continuous-Claude-v3

Trigger Scenarios

求解常微分方程或偏微分方程的边值问题 处理Sturm-Liouville特征值问题 需要数值解法如打靶法或有限差分的场景

Install

npx skills add parcadei/Continuous-Claude-v3 --skill boundary-value-problems -g -y
More Options

Non-standard path

npx skills add https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/math/odes-pdes/boundary-value-problems -g -y

Use without installing

npx skills use parcadei/Continuous-Claude-v3@boundary-value-problems

指定 Agent (Claude Code)

npx skills add parcadei/Continuous-Claude-v3 --skill boundary-value-problems -a claude-code -g -y

安装 repo 全部 skill

npx skills add parcadei/Continuous-Claude-v3 --all -g -y

预览 repo 内 skill

npx skills add parcadei/Continuous-Claude-v3 --list

SKILL.md

Frontmatter
{
    "name": "boundary-value-problems",
    "description": "Problem-solving strategies for boundary value problems in odes pdes",
    "allowed-tools": [
        "Bash",
        "Read"
    ]
}

Boundary Value Problems

When to Use

Use this skill when working on boundary-value-problems problems in odes pdes.

Decision Tree

  1. Problem Classification

    • Two-point BVP: conditions at x=a and x=b?
    • Sturm-Liouville: eigenvalue problem?
    • Mixed conditions: Dirichlet, Neumann, Robin?
  2. Shooting Method

    • Convert BVP to IVP
    • Guess missing initial conditions
    • Iterate to satisfy boundary conditions
    • scipy.integrate.solve_ivp + root finding
  3. Finite Difference Method

    • Discretize domain: x_i = a + i*h
    • Replace derivatives with differences: y'' ~ (y_{i+1} - 2y_i + y_{i-1})/h^2
    • Solve resulting linear system
    • sympy_compute.py linsolve "tridiagonal_matrix" "boundary_vector"
  4. Collocation/BVP Solver

    • scipy.integrate.solve_bvp(ode, bc, x, y_init)
    • Provide initial mesh and guess
    • Check residual for accuracy
  5. Eigenvalue Problems

    • Sturm-Liouville form: -(p(x)y')' + q(x)y = lambda*w(x)*y
    • Eigenvalues are real if p, w > 0
    • Eigenfunctions orthogonal with weight w
    • sympy_compute.py eigenvalues "sturm_liouville_matrix"

Tool Commands

Scipy_Solve_Bvp

uv run python -c "from scipy.integrate import solve_bvp; import numpy as np; ode = lambda x, y: [y[1], -y[0]]; bc = lambda ya, yb: [ya[0], yb[0]-1]; x = np.linspace(0, np.pi, 10); y = np.zeros((2, 10)); sol = solve_bvp(ode, bc, x, y); print('Solution at pi/2:', sol.sol(np.pi/2)[0])"

Sympy_Linsolve

uv run python -m runtime.harness scripts/sympy_compute.py linsolve "tridiagonal_matrix" "boundary_vector"

Z3_Sturm_Liouville

uv run python -m runtime.harness scripts/z3_solve.py prove "eigenvalue_real"

Key Techniques

From indexed textbooks:

  • [Elementary Differential Equations and... (Z-Library)] Boundary Value Problems and Partial Differential Equations (6th ed. Boston: Academic August 7, 2012 21:05 c10 Sheet number 88 Page number 676 cyan black August 7, 2012 21:05 c11 Sheet number 1 Page number 677 cyan black C H A P T E R Boundary Value Problems and Sturm–Liouville Theory As a result of separating variables in a partial differential equation in Chapter 10, we repeatedly encountered the differential equation X + λX = 0, 0 < x < L with the boundary conditions X (0) = 0, X (L) = 0. This boundary value problem is the prototype of a large class of problems that are important in applied mathematics.
  • [Elementary Differential Equations and... (Z-Library)] Nonhomogeneous Boundary Value Problems In this section we discuss how to solve nonhomogeneous boundary value problems for both ordinary and partial differential equations. Most of our attention is directed toward problems in which the differential equation alone is nonhomogeneous, while the boundary conditions are homogeneous. We assume that the solution can be expanded in a series of eigenfunctions of a related homogeneous problem, and then we determine the coefcients in this series so that the nonhomogeneous problem is satised.
  • [Elementary Differential Equations and... (Z-Library)] Consider the boundary conditions y, y bounded as x → −1, −1 m = n. August 7, 2012 21:05 c11 Sheet number 46 Page number 722 cyan black Chapter 11. Boundary Value Problems general differential equations or boundary conditions.
  • [An Introduction to Numerical Analysis... (Z-Library)] Modern Numerical Methods for Ordinary Wiley, New York. User's guide for DVERK: A subroutine for solving non-stiff ODEs. Keller (1966), Analysis of Numerical Methods.
  • [Elementary Differential Equations and... (Z-Library)] Describe in a few words how the solution evolves as time advances. A nonreactive tracer at concentration c0 is continuously introduced into a steady ow at the upstream end of a column of length L packed with a homogeneous granular medium. Assuming that the tracer concentration in the column is initially zero, the boundary value problem that models this process is 0 < x < L, t > 0, t > 0, 0 < x < L, where c(x, t), v, and D are as in Problem 27.

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

Version History

  • d07ff4b Current 2026-08-20 12:49

Same Skill Collection

.claude/plugins/braintrust-tracing/skills/trace-claude-code/SKILL.md
.claude/skills/agentica-claude-proxy/SKILL.md
.claude/skills/agentica-infrastructure/SKILL.md
.claude/skills/agentica-prompts/SKILL.md
.claude/skills/agentica-sdk/SKILL.md
.claude/skills/agentica-server/SKILL.md
.claude/skills/archive/leann-search/SKILL.md
.claude/skills/ast-grep-find/SKILL.md
.claude/skills/braintrust-tracing/SKILL.md
.claude/skills/cli-reference/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/compound-learnings/SKILL.md
.claude/skills/continuity_ledger/SKILL.md
.claude/skills/create_handoff/SKILL.md
.claude/skills/dead-code/SKILL.md
.claude/skills/debug-hooks/SKILL.md
.claude/skills/debug/SKILL.md
.claude/skills/describe_pr/SKILL.md
.claude/skills/discovery-interview/SKILL.md
.claude/skills/explore/SKILL.md
.claude/skills/firecrawl-scrape/SKILL.md
.claude/skills/fix/SKILL.md
.claude/skills/github-search/SKILL.md
.claude/skills/help/SKILL.md
.claude/skills/hook-developer/SKILL.md
.claude/skills/implement_plan_micro/SKILL.md
.claude/skills/implement_plan/SKILL.md
.claude/skills/implement_task/SKILL.md
.claude/skills/loogle-search/SKILL.md
.claude/skills/math-help/SKILL.md
.claude/skills/math-router/SKILL.md
.claude/skills/math-unified/SKILL.md
.claude/skills/math/abstract-algebra/fields/SKILL.md
.claude/skills/math/abstract-algebra/groups/SKILL.md
.claude/skills/math/abstract-algebra/rings/SKILL.md
.claude/skills/math/category-theory/categories-functors/SKILL.md
.claude/skills/math/category-theory/limits-colimits/SKILL.md
.claude/skills/math/category-theory/natural-transformations/SKILL.md
.claude/skills/math/complex-analysis/analytic-functions/SKILL.md
.claude/skills/math/complex-analysis/contour-integrals/SKILL.md
.claude/skills/math/complex-analysis/residues/SKILL.md
.claude/skills/math/functional-analysis/banach-spaces/SKILL.md
.claude/skills/math/functional-analysis/hilbert-spaces/SKILL.md
.claude/skills/math/functional-analysis/operator-theory/SKILL.md
.claude/skills/math/graph-number-theory/graph-algorithms/SKILL.md
.claude/skills/math/graph-number-theory/modular-arithmetic/SKILL.md
.claude/skills/math/graph-number-theory/prime-numbers/SKILL.md
.claude/skills/math/information-theory/channel-capacity/SKILL.md
.claude/skills/math/information-theory/entropy/SKILL.md
.claude/skills/math/information-theory/source-coding/SKILL.md

Metadata

Files
0
Version
d07ff4b
Hash
61e7fe5d
Indexed
2026-08-20 12:49

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-29 02:22
浙ICP备14020137号-1