GRID

Trangular and cartesian grids use different grid structures that may be distinguished via the .type field, which is present in both cases. The existence of all other fields listed below depends on the grid type!

Fields in all types of grids
Field Type Units Description
.type string predefined value In Triangular Grids, the value of this field is always "triangular". In cartesian grids, it is always "cartesian". The possible values are defined in MKLSDEFAULTS.
Fields only in triangular grids
Field Type Units Description
.layers structure array (different for separate fields) Array of LAYER structures. Each element of the .layers field is a complete LAYER structure that defines a triangular grid for a single radius. .layers(1) is the innermost layer. For details of LAYER structures see the MKLSGRIDNEWTRILAYER routine.
Fields only in cartesian grids
Field Type Units Description
.clay structure array (different for separate fields) Array of CLAY (Cartesian LAYer) structures. Each element of the .clay field is a complete CLAY structure that defines a x-y grid cartesian grid for a single depth. .clay(1) is the deepest layer.

eof.