DAGetCoordinates

Gets the node coordinates associated with a DA.

Synopsis

#include "petscda.h"   
int DAGetCoordinates(DA da,Vec *c)
Not Collective

Input Parameter

da -the distributed array

Output Parameter

c -coordinate vector

Note

Does NOT nclude the coordinates for the the ghost nodes

You should not destroy or keep around this vector.

Keywords

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

See Also

DAGetGhostCorners(), DASetCoordinates()

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

Examples

src/snes/examples/tutorials/ex22.c.html
src/pf/examples/tutorials/ex1.c.html