MGSetRestriction

Sets the function to be used to restrict vector from level l to l-1.

Synopsis

int MGSetRestriction(PC pc,int l,Mat mat)  
Collective on PC and Mat

Input Parameters

pc - the multigrid context
mat - the restriction matrix
l - the level to supply

Keywords

MG, set, multigrid, restriction, level

See Also

MGSetInterpolate()

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