petsc-3.14.6 2021-03-30
Report Typos and Errors

PCGASMGetSubmatrices

Gets the local submatrices (for this processor only) for the additive Schwarz preconditioner.

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCGASMGetSubmatrices(PC pc,PetscInt *n,Mat *mat[])
Not Collective

Input Parameter

pc - the preconditioner context

Output Parameters

n - the number of matrices for this processor (default value = 1)
mat - the matrices

Notes

matrices returned by this routine have the same communicators as the index sets (IS) used to define subdomains in PCGASMSetSubdomains()

See Also

PCGASMSetOverlap(), PCGASMGetSubKSP(),
PCGASMCreateSubdomains2D(), PCGASMSetSubdomains(), PCGASMGetSubdomains()

Level

advanced

Location

src/ksp/pc/impls/gasm/gasm.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages