#include "petscdmda.h" PetscErrorCode DMDAVecRestoreArrayWrite(DM da,Vec vec,void *array)Logically collective on Vec
da | - the distributed array | |
vec | - the vector, either a vector the same size as one obtained with DMCreateGlobalVector() or DMCreateLocalVector() | |
array | - the array, non-NULL pointer is zeroed |