int GridCreateRectangular1D(MPI_Comm comm,int n,double xmin,double xmax,double *x, DiscretizationType dtype,Grid *grid)Collective on MPI_Comm
comm | - MPI communicator |
n | - number of grid points (including end points) |
xmin | - left grid point |
xmax | - right grid point |
x | - [optional] array of grid points, only given if the grid points are unevenly spaced. |
dtype | - type of discretization, for example DISCRETIZATION_LINEAR |
Location: src/gvec/impls/rectangular/1d/rect1d.c
Discrete Function Index
Table of Contents