PCSetVector

Sets a vector associated with the preconditioner.

Synopsis

#include "petscsles.h" 
int PCSetVector(PC pc,Vec vec)
Collective on PC and Vec

Input Parameters

pc - the preconditioner context
vec - the vector

Notes

The vector must be set so that the preconditioner knows what type of vector to allocate if necessary.

Keywords

PC, set, vector

See Also

PCGetVector()

Level:intermediate
Location:
src/sles/pc/interface/precon.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sles/examples/tutorials/ex21f.F.html