petsc-3.5.4 2015-05-23
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(), or PETSC_COMM_SELF, if the subdomains were defined using PCGASMSetTotalSubdomains().

Keywords

PC, GASM, set, local, subdomains, additive Schwarz, block Jacobi

See Also

PCGASMSetTotalSubdomain(), 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