Select and configure nonlinear solvers for root-finding f(x)=0, optimization min F(x), and least-squares problems — choose among Newton, Newton-Krylov, quasi-Newton (BFGS, L-BFGS), Broyden, Anderson acceleration, and Levenberg-Marquardt methods, configure line search or trust-region globalization, diagnose convergence rate (quadratic, linear, stagnated), and assess Jacobian quality and conditioning. Use when a Newton solver converges slowly or diverges, choosing between line search and trust region, debugging nonlinear iteration failures in FEM or phase-field codes, or selecting a solver for large-scale unconstrained optimization, even if the user only says "my Newton iterations aren't converging."
$npx -y skills add heshamfs/materials-simulation-skills --skill nonlinear-solversInstalls into the current project.
Run `npx skills use "https://github.com/heshamfs/materials-simulation-skills" --skill "heshamfs/materials-simulation-skills/nonlinear-solvers"` 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.