petsc-3.10.5 2019-03-28
Report Typos and Errors

DMDASetUniformCoordinates

Sets a DMDA coordinates to be a uniform grid

Synopsis

#include "petscdmda.h"   
PetscErrorCode  DMDASetUniformCoordinates(DM da,PetscReal xmin,PetscReal xmax,PetscReal ymin,PetscReal ymax,PetscReal zmin,PetscReal zmax)
Collective on DMDA

Input Parameters

da - the distributed array object
xmin,xmax - extremes in the x direction
ymin,ymax - extremes in the y direction (value ignored for 1 dimensional problems)
zmin,zmax - extremes in the z direction (value ignored for 1 or 2 dimensional problems)

See Also

DMSetCoordinates(), DMGetCoordinates(), DMDACreate1d(), DMDACreate2d(), DMDACreate3d()

Level

beginner

Location

src/dm/impls/da/gr1.c

Examples

src/dm/examples/tutorials/ex3.c.html
src/dm/examples/tutorials/ex4.c.html
src/dm/examples/tutorials/ex10.c.html
src/dm/examples/tutorials/ex20.c.html
src/dm/examples/tutorials/swarm_ex1.c.html
src/dm/examples/tutorials/swarm_ex3.c.html
src/dm/examples/tutorials/ex13f90.F90.html
src/ksp/ksp/examples/tutorials/ex29.c.html
src/ksp/ksp/examples/tutorials/ex42.c.html
src/ksp/ksp/examples/tutorials/ex43.c.html
src/ksp/ksp/examples/tutorials/ex49.c.html

Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages