#include "petscpc.h" PetscErrorCode PCSORSetIterations(PC pc,PetscInt its,PetscInt lits)Logically Collective on PC
pc | - the preconditioner context | |
lits | - number of local iterations, smoothings over just variables on processor | |
its | - number of parallel iterations to use; each parallel iteration has lits local iterations |
-pc_sor_its <its> | - Sets number of iterations | |
-pc_sor_lits <lits> | - Sets number of local iterations |
Notes: When run on one processor the number of smoothings is lits*its