DASetCoordinates

Sets into the DA a vector that indicates the coordinates of the local nodes (NOT including ghost nodes).

Synopsis

#include "petscda.h"   
PetscErrorCode PETSCDM_DLLEXPORT DASetCoordinates(DA da,Vec c)
Collective on DA

Input Parameter

da - the distributed array
c - coordinate vector

Note

The coordinates should NOT include those for all ghost points

Keywords

distributed array, get, corners, nodes, local indices, coordinates

See Also

DAGetGhostCorners(), DAGetCoordinates(), DASetUniformCoordinates(). DAGetGhostCoordinates(), DAGetCoordinateDA()

Level:intermediate
Location:
src/dm/da/src/dacorn.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages