petsc-3.3-p7 2013-05-11

DMDASetCoordinates

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

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDASetCoordinates(DM da,Vec c)
Collective on DMDA

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

DMDASetGhostCoordinates(), DMDAGetGhostCorners(), DMDAGetCoordinates(), DMDASetUniformCoordinates(). DMDAGetGhostedCoordinates(), DMDAGetCoordinateDA()

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