#include "petscdmplex.h" PetscErrorCode DMPlexVecRestoreClosure(DM dm, PetscSection section, Vec v, PetscInt point, PetscInt *csize, PetscScalar *values[])Not collective
dm | - The DM | |
section | - The section describing the layout in v, or NULL to use the default section | |
v | - The local vector | |
point | - The point in the DM | |
csize | - The number of values in the closure, or NULL | |
values | - The array of values, which is a borrowed array and should not be freed |
Note that the array values are discarded and not copied back into v. In order to copy values back to v, use DMPlexVecSetClosure()
The csize argument is not present in the Fortran 90 binding since it is internal to the array.