petsc-3.7.1 2016-05-15
VecCUSPPlaceArray
Allows one to replace the array in a vector with a CUSPARRAY provided by the user. This is useful to avoid copying a CUSPARRAY into a vector.
Synopsis
PetscErrorCode VecCUSPPlaceArray(Vec vin,CUSPARRAY *a)
Not Collective Many br
Input Parameters
| vec | - the vector Many br |
| array | - the CUSPARRAY Many br |
Notes
You can return to the original CUSPARRAY with a call to VecCUSPResetArray() Many brIt is not possible to use VecCUSPPlaceArray() and VecPlaceArray() at the Many brsame time on the same vector. Many br
Many br
See Also
VecPlaceArray(), VecGetArray(), VecRestoreArray(), VecReplaceArray(), VecResetArray(), VecCUSPResetArray(), VecCUSPReplaceArray()
Level:developer
Location:src/vec/vec/impls/seq/seqcusp/veccusp2.cu
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages