#include "petscpcmg.h" PetscErrorCode PCMGSetLevels(PC pc,PetscInt levels,MPI_Comm *comms)Logically Collective on PC
| pc | - the preconditioner context | |
| levels | - the number of levels | |
| comms | - optional communicators for each level; this is to allow solving the coarser problems on smaller sets of processors. Use PETSC_NULL_OBJECT for default in Fortran |
Level:intermediate
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