MGSetR
Sets the vector space to be used to store the residual on a particular level. The user should free this space at the conclusion of multigrid use.
Synopsis
#include "petscsles.h"
#include "petscmg.h"
int MGSetR(PC pc,int l,Vec c)
Collective on PC and Vec
Input Parameters
| pc | - the multigrid context
|
| l | - the level this is to be used for
|
| c | - the space
|
Keywords
MG, multigrid, set, residual, level
Level:advanced
Location:src/sles/pc/impls/mg/mgfunc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/sles/examples/tutorials/ex20.c
src/snes/examples/tutorials/ex16.c
src/snes/examples/tutorials/ex20.c