GridDataCreateRectangular1D

Creates a basic one-dimensional grid.

Synopsis

int GridDataCreateRectangular1D(MPI_Comm comm,int m,double xmin,double xmax,
                                double *points,GridData *grid)
Collective on MPI_Comm

Input Parameters

comm - the communicator that shares the grid
m - the number of GridData points
xmin - the first grid point
xmax - the last grid point
points - an array of grid points

Output Parameter

grid -the grid

See Also

GridDataCreateRectangular2D()

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