QPReset

Resets a QP context to the setupcalled = 0 and solved = 0 state, and destroys the Vecs and Mats describing the data as well as PC and child QP.

Synopsis

PetscErrorCode QPReset(QP qp)
Collective on QP

Input Parameter

qp - the QP

See Also

QPCreate(), QPSetUp(), QPISSolved()

Level

beginner

Location

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