Select and configure linear solvers for Ax=b systems arising in numerical simulations — choose between direct (LU, Cholesky) and iterative (CG, GMRES, BiCGSTAB, MINRES) methods, analyze sparsity patterns and matrix conditioning, recommend preconditioners (AMG, ILU, IC), apply row/column scaling, and diagnose convergence stagnation from residual histories. Use when setting up a linear solve for FEM/FVM assembly, debugging slow or stalled Krylov iterations, choosing a preconditioner for SPD or nonsymmetric systems, or investigating ill-conditioning, even if the user only says "my solver is slow" or "GMRES won't converge."
$npx -y skills add heshamfs/materials-simulation-skills --skill linear-solversInstalls into the current project.
Run `npx skills use "https://github.com/heshamfs/materials-simulation-skills" --skill "heshamfs/materials-simulation-skills/linear-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.