petsc-3.6.1 2015-08-06
Report Typos and Errors

DMDACoor2d

Structure for holding 2d (x and y) coordinates.

Synopsis

DMDACoor2d **coors;
Vec      vcoors;
DM       cda;
DMGetCoordinates(da,&vcoors);
DMGetCoordinateDM(da,&cda);
DMDAVecGetArray(cda,vcoors,&coors);
DMDAGetCorners(cda,&mstart,&nstart,0,&m,&n,0)
for (i=mstart; i

See Also

DMDACoor3d, DMGetCoordinateDM(), DMGetCoordinates()

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