DMInterpolationEvaluate#
Using the input from dm and x, calculates interpolated field values at the interpolation points.
Synopsis#
#include "petscdmplex.h"
#include "petscsnes.h"
PetscErrorCode DMInterpolationEvaluate(DMInterpolationInfo ctx, DM dm, Vec x, Vec v)
Input Parameters#
ctx - The
DMInterpolationInfo
contextdm - The
DM
x - The local vector containing the field to be interpolated
Output Parameter#
v - The vector containing the interpolated values
Note#
A suitable v
can be obtained using DMInterpolationGetVector()
.
See Also#
SNES: Nonlinear Solvers, DM
, DMInterpolationInfo
, DMInterpolationGetVector()
, DMInterpolationAddPoints()
, DMInterpolationCreate()
Level#
beginner
Location#
Examples#
src/ts/tutorials/ex77.c
src/snes/tutorials/ex63.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages