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

PCSORGetIterations

Gets the number of inner iterations to be used by the SOR preconditioner. The default is 1.

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCSORGetIterations(PC pc,PetscInt *its,PetscInt *lits)
Logically Collective on PC Many br

Input Parameter

pc -the preconditioner context Many br

Output Parameter

lits - number of local iterations, smoothings over just variables on processor Many br
its - number of parallel iterations to use; each parallel iteration has lits local iterations Many br

Options Database Key

-pc_sor_its <its> - Sets number of iterations Many br
-pc_sor_lits <lits> - Sets number of local iterations Many br

Many br

Notes: When run on one processor the number of smoothings is lits*its Many br

Keywords

PC, SOR, SSOR, set, iterations

See Also

PCSORSetOmega(), PCSORSetSymmetric(), PCSORSetIterations()

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