QPGetVecs

Get vector(s) compatible with the QP operator matrix, i.e. with the same parallel layout

Synopsis

PetscErrorCode QPGetVecs(QP qp,Vec *right,Vec *left)
Collective on QP

Input Parameter

qp -the QP

Output Parameter

right - (optional) vector that the matrix can be multiplied against
left - (optional) vector that the matrix vector product can be stored in

Notes: These are new vectors which are not owned by the QP, they should be destroyed by VecDestroy() when no longer needed

See Also

MatCreateVecs()

Level:intermediate
Location:
src/qp/interface/qp.c
Index of all QP routines
Table of Contents for all manual pages
Index of all manual pages