petsc-3.7.1 2016-05-15
Report Typos and Errors

PCASMGetLocalSubmatrices

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

Synopsis

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

Input Parameter

pc -the preconditioner context Many br

Output Parameters

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

Many br

Notes: Call after PCSetUp() (or KSPSetUp()) but before PCApply() (or KSPApply()) and before PCSetUpOnBlocks()) Many br

Usually one would use PCSetModifySubmatrices() to change the submatrices in building the preconditioner. Many br

Keywords

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

See Also

PCASMSetTotalSubdomains(), PCASMSetOverlap(), PCASMGetSubKSP(),
PCASMCreateSubdomains2D(), PCASMSetLocalSubdomains(), PCASMGetLocalSubdomains(), PCSetModifySubmatrices() Many br

Level:advanced
Location:
src/ksp/pc/impls/asm/asm.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages