#include "petscvec.h" PetscErrorCode VecReplaceArray(Vec vec,const PetscScalar array[])Not Collective
vec | - the vector | |
array | - the array |
The memory passed in MUST be obtained with PetscMalloc() and CANNOT be freed by the user. It will be freed when the vector is destroy.
Not supported from Fortran
Level:developer
Location:src/vec/vec/interface/rvector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages