PetscErrorCode QPGetVecs(QP qp,Vec *right,Vec *left)Collective on QP
qp | - the QP |
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