Soil Water Balance (SWB2)
Loading...
Searching...
No Matches
grid::grid_create Interface Reference

Public Member Functions

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.

Detailed Description

Definition at line 161 of file grid.F90.

Member Function/Subroutine Documentation

◆ 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
iNXNumber of grid cells in the x direction
iNYNumber of grid cells in the y direction
rX0X coordinate for the lower left corner of the grid
rY0Y coordinate for the lower left corner of the grid
rX1X coordinate for the upper right corner of the grid
rY1Y coordinate for the upper right corner of the grid
iDataTypeInteger 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 )

Definition at line 280 of file grid.F90.


The documentation for this interface was generated from the following file: