#include "sles.h" #include "mg.h" int MGSetRestriction(PC pc,int l,Mat mat)Collective on PC and Mat
pc | - the multigrid context | |
mat | - the restriction matrix | |
l | - the level to supply |
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/sles/pc/impls/mg/mgfunc.c
PC Index
Table of Contents