Distributed solve
The equations of patchwork.solvers.distributed, declared on the code that implements them and checked by the tests.
PetscSystem
classsourceRows of a square sparse system on every rank, solved together with PETSc.
- krylov
- preconditioner
- fallback
- Assumes
- each rank assembles the rows of the unknowns it owns, contiguous in the global numbering, into an
MPIAIJmatrix - the previous solution is the initial guess (
reset()zeroes it); the residual norm is PETSc's default for the method - options in code override the command line, which overrides the defaults; the solution is scattered to every rank
- each rank assembles the rows of the unknowns it owns, contiguous in the global numbering, into an
- References