petsc-3.3-p7 2013-05-11
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 (use PETSC_NULL for 1 dimensional problems)
|
| zmin,zmax | - extremes in the z direction (use PETSC_NULL for 1 or 2 dimensional problems)
|
See Also
DMDASetCoordinates(), DMDAGetCoordinates(), DMDACreate1d(), DMDACreate2d(), DMDACreate3d()
Level:beginner
Location:src/dm/impls/da/gr1.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/dm/examples/tutorials/ex3.c.html
src/dm/examples/tutorials/ex4.c.html
src/dm/examples/tutorials/ex10.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
src/snes/examples/tutorials/ex5.c.html
src/snes/examples/tutorials/ex10.c.html
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex35.c.html
src/snes/examples/tutorials/ex46.c.html