:orphan: # DMInterpolationRestoreVector Returns a `Vec` which can hold all the interpolated field values ## Synopsis ``` #include "petscdmplex.h" #include "petscsnes.h" PetscErrorCode DMInterpolationRestoreVector(DMInterpolationInfo ctx, Vec *v) ``` Collective ## Input Parameters - ***ctx -*** the context - ***v -*** a vector capable of holding the interpolated field values ## See Also `DMInterpolationInfo`, `DMInterpolationGetVector()`, `DMInterpolationEvaluate()`, `DMInterpolationAddPoints()`, `DMInterpolationCreate()` ## Level intermediate ## Location src/snes/utils/dmplexsnes.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmplexsnes.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)