#include "petscksp.h" PetscErrorCode PCMGSetInterpolation(PC pc,PetscInt l,Mat mat)Logically Collective on PC and Mat
pc | - the multigrid context | |
mat | - the interpolation operator | |
l | - the level (0 is coarsest) to supply [do not supply 0] |
One can pass in the interpolation matrix or its transpose; PETSc figures out from the matrix size which one it is.
Level:advanced
Location:src/ksp/pc/impls/mg/mgfunc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages