DASetUniformCoordinates

Sets a DA coordinates to be a uniform grid

Synopsis

#include "petscda.h"   
int DASetUniformCoordinates(DA da,double xmin,double xmax,double ymin,double ymax,double zmin,double zmax)
Collective on DA

Input Parameters

da - the distributed array object
xmin,xmax - extremes in the x direction
xmin,xmax - extremes in the y direction
xmin,xmax - extremes in the z direction

See Also

DASetCoordinates(), DAGetCoordinates(), DACreate1d(), DACreate2d(), DACreate3d()

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

Examples

src/pf/examples/tutorials/ex1.c