petsc-3.11.4 2019-09-28
Report Typos and Errors

DMInterpolationGetCoordinates

Gets a Vec with the coordinates of each interpolation point

Synopsis

#include "petscdmplex.h" 
#include "petscsnes.h"   
PetscErrorCode DMInterpolationGetCoordinates(DMInterpolationInfo ctx, Vec *coordinates)
Collective on ctx

Input Parameter

ctx -the context

Output Parameter

coordinates -the coordinates of interpolation points

Note: The local vector entries correspond to interpolation points lying on this process, according to the associated DM. This is a borrowed vector that the user should not destroy.

See Also

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