PetscErrorCode DMStagSetUniformCoordinatesExplicit(DM dm,PetscReal xmin,PetscReal xmax,PetscReal ymin,PetscReal ymax,PetscReal zmin,PetscReal zmax)Collective
dm | - the DMStag object | |
xmin,xmax,ymin,ymax,zmin,zmax | - maximum and minimum global coordinate values |
Arguments corresponding to higher dimensions are ignored for 1D and 2D grids.
See the manual page for DMStagSetUniformCoordinates() for information on how coordinates for dummy cells outside the physical domain boundary are populated.