QPSGetVecs

Gets a number of work vectors.

Synopsis

PetscErrorCode QPSGetVecs(QPS qps,PetscInt rightn, Vec **right,PetscInt leftn,Vec **left)

Input Parameters

qps - iterative context
rightn - number of right work vectors
leftn - number of left work vectors to allocate

Output Parameters

right - the array of vectors created
left - the array of left vectors

Note: The right vector has as many elements as the matrix has columns. The left vector has as many elements as the matrix has rows.

See Also

MatCreateVecs()

Level:advanced
Location:
src/qps/interface/qps.c
Index of all QPS routines
Table of Contents for all manual pages
Index of all manual pages