petsc-3.12.5 2020-03-29
DMInterpolationGetVector
Gets a Vec which can hold all the interpolated field values
Synopsis
#include "petscdmplex.h"
#include "petscsnes.h"
PetscErrorCode DMInterpolationGetVector(DMInterpolationInfo ctx, Vec *v)
Collective on ctx
Input Parameter
ctx -the context
Output Parameter
v -a vector capable of holding the interpolated field values
Note: This vector should be returned using DMInterpolationRestoreVector().
See Also
DMInterpolationRestoreVector(), DMInterpolationEvaluate(), DMInterpolationAddPoints(), DMInterpolationCreate()
Level
intermediate
Location
src/snes/utils/dmplexsnes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages