MGSetX

Sets the vector space to be used to store the solution on a particular level. The user should free this space at the conclusion of multigrid use.

Synopsis

#include "sles.h" 
#include "mg.h"   
int MGSetX(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, solution, level

See Also

MGSetRhs(), MGSetR()

Examples

src/sles/examples/tutorials/ex19.c
src/snes/examples/tutorials/ex16.c

Level:advanced
Location:src/sles/pc/impls/mg/mgfunc.c
PC Index
Table of Contents