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

PCMGMultiplicativeSetCycles

Sets the number of cycles to use for each preconditioner step of multigrid when PCMGType of PC_MG_MULTIPLICATIVE is used

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCMGMultiplicativeSetCycles(PC pc,PetscInt n)
Logically Collective on PC Many br

Input Parameters

pc - the multigrid context Many br
n - number of cycles (default is 1) Many br

Options Database Key

-pc_mg_multiplicative_cycles n - Many br Many br

Notes: This is not associated with setting a v or w cycle, that is set with PCMGSetCycleType() Many br

Keywords

MG, set, cycles, V-cycle, W-cycle, multigrid

See Also

PCMGSetCycleTypeOnLevel(), PCMGSetCycleType()

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