VecsDuplicate#
Creates a new Vecs with the same size and layout as an existing Vecs, but does not copy the values
Synopsis#
PetscErrorCode VecsDuplicate(Vecs x, Vecs *y)
Collective
Input Parameter#
x - the existing
Vecs
Output Parameter#
y - the newly created
Vecs
See Also#
Vecs, VecsCreateSeq(), VecsCreateSeqWithArray(), VecsDestroy(), VecDuplicate()
Level#
advanced
Location#
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages