GridDataCreateRectangular2D

Creates a basic two-dimensional grid.

Synopsis

int GridDataCreateRectangular2D(MPI_Comm comm,int m,double xmin,double xmax,
                                double *xpoints,int n, double ymin, double ymax, 
                                double *ypoints, GridData *grid)
Collective on MPI_Comm

Input Parameters

comm - the communicator that shares the grid
m - the number of GridData points in the x direction
xmin - the first x grid point
xmax - the last x grid point
xpoints - an array of grid points
n - the number of GridData points in the y direction
ymin - the first y grid point
ymax - the last y grid point
ypoints - an array of grid points

Output Parameter

grid -the grid

See Also

GridDataCreateRectangular1D()

Location: src/gvec/impls/rectangular/2d/rect2d.c
Discrete Function Index
Table of Contents