DASetUniformCoordinates

Sets a DA coordinates to be a uniform grid

Synopsis

#include "petscda.h"   
int DASetUniformCoordinates(DA da,PetscReal xmin,PetscReal xmax,PetscReal ymin,PetscReal ymax,PetscReal zmin,PetscReal 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/snes/examples/tutorials/ex22.c.html
src/pf/examples/tutorials/ex1.c.html