MGSetRhs

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

Synopsis

int MGSetRhs(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, right-hand-side, rhs, level

See Also

MGSetX(), MGSetR()

Examples

src/gvec/examples/tutorials/ex2.c
src/gvec/examples/tutorials/ex4.c
src/gvec/examples/tutorials/ex6.c

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