|
type(general_grid_t) function, pointer | grid_createsimple (inx, iny, rx0, ry0, rgridcellsize, idatatype) |
type(general_grid_t) function, pointer | grid_createcomplete (inx, iny, rx0, ry0, rx1, ry1, idatatype) |
| Creates a grid of a specified type.
|
Definition at line 161 of file grid.F90.
◆ grid_createcomplete()
type (general_grid_t) function, pointer grid::grid_create::grid_createcomplete |
( |
integer (c_int), intent(in) | inx, |
|
|
integer (c_int), intent(in) | iny, |
|
|
real (c_double), intent(in) | rx0, |
|
|
real (c_double), intent(in) | ry0, |
|
|
real (c_double), intent(in) | rx1, |
|
|
real (c_double), intent(in) | ry1, |
|
|
integer (c_int), intent(in) | idatatype ) |
Creates a grid of a specified type.
Creates a grid pointer object and allocates memory for the data associated with the grid (REAL, INTEGER, or T_CELL).
- Parameters
-
iNX | Number of grid cells in the x direction |
iNY | Number of grid cells in the y direction |
rX0 | X coordinate for the lower left corner of the grid |
rY0 | Y coordinate for the lower left corner of the grid |
rX1 | X coordinate for the upper right corner of the grid |
rY1 | Y coordinate for the upper right corner of the grid |
iDataType | Integer value corresponding to the type of data contained in the grid |
- Returns
- pGrd Pointer to a grid object
Definition at line 210 of file grid.F90.
◆ grid_createsimple()
type (general_grid_t) function, pointer grid::grid_create::grid_createsimple |
( |
integer (c_int), intent(in) | inx, |
|
|
integer (c_int), intent(in) | iny, |
|
|
real (c_double), intent(in) | rx0, |
|
|
real (c_double), intent(in) | ry0, |
|
|
real (c_double), intent(in) | rgridcellsize, |
|
|
integer (c_int), intent(in) | idatatype ) |
The documentation for this interface was generated from the following file: