SetVec

Set or replace the underlying Vec object in this TaoVec.

Synopsis

int TaoVecPetsc::SetVec(Vec VV)

Input Parameter

V -a PETSc vector

Note

The user us repsonsible for destroying the Vec V, in addition to to TaoVecPetsc vector TV. The Vec can be destroyed immediately after this routine.

See Also

TaoWrapPetscVec(), TaoVecDestroy()

Level:developer
Location:src/petsctao/vector/taovec_petsc.c
TAO Solver Index
Table of Contents