Skip to content

Commit 0133e9c

Browse files
committed
last addition to docs
1 parent 0557a96 commit 0133e9c

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

docs/src/solvers/solvers.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,20 @@ GinkgoJL_GMRES
391391
Passing a multi-rank communicator will raise an error. MPI-parallel support is planned
392392
for a future release.
393393

394-
`PETScAlgorithm` wraps PETSc's KSP (Krylov subspace) solvers and exposes the full PETSc
395-
preconditioner interface using [PETSc.jl](https://github.com/JuliaParallel/PETSc.jl). It works with **dense matrices**, **`SparseMatrixCSC`**, and
396-
**`SparseMatrixCSR`** (from [SparseMatricesCSR.jl](https://github.com/gridap/SparseMatricesCSR.jl)).
394+
[PETSc](https://petsc.org) (Portable, Extensible Toolkit for Scientific Computation) is a
395+
library for the parallel numerical solution of scientific applications. Its KSP
396+
component provides a comprehensive suite of Krylov iterative solvers paired with a large
397+
selection of preconditioners.
398+
399+
`PETScAlgorithm` wraps PETSc's KSP solvers via [PETSc.jl](https://github.com/JuliaParallel/PETSc.jl)
400+
and exposes the full preconditioner interface. It works with **dense matrices**,
401+
**`SparseMatrixCSC`**, and **`SparseMatrixCSR`** (from
402+
[SparseMatricesCSR.jl](https://github.com/gridap/SparseMatricesCSR.jl)).
403+
404+
**When to choose PETSc over the pure-Julia Krylov solvers:**
405+
- You want to test a wide variety of Krylov methods and preconditioners without needing to add multiple Julia packages.
406+
- You want direct access to PETSc's Options Database to fine-tune solver behavior at runtime
407+
without recompiling.
397408

398409
#### Solver type
399410

0 commit comments

Comments
 (0)