petsc-3.13.6 2020-09-29
KSPHPDDMMatSolve
Solves a linear system with multiple right-hand sides stored as a MATDENSE. Unlike KSPSolve(), B and X must be different matrices.
Synopsis
#include "petscksp.h"
PetscErrorCode KSPHPDDMMatSolve(KSP ksp, Mat B, Mat X)
Input Parameters
| ksp | - iterative context
|
| B | - block of right-hand sides
|
Output Parameter
X -block of solutions
See Also
KSPSolve(), MatMatSolve(), MATDENSE, PCBJACOBI, PCASM
Level
intermediate
Location
src/ksp/ksp/impls/hpddm/hpddm.cxx
Examples
src/ksp/ksp/tutorials/ex77.c.html
src/ksp/ksp/tutorials/ex77f.F90.html
Implementations
KSPHPDDMMatSolve_HPDDM in src/ksp/ksp/impls/hpddm/hpddm.cxx
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages