Function mf6bmi::get_var_shape¶
Defined in File mf6bmi.f90
Function Documentation¶
-
integer(kind=c_int) function mf6bmi::get_var_shape (c_var_address, c_var_shape)
Get the shape of the array for the variable (non-BMI)
The shape is an integer array with size equal to the rank of the variable (see get_var_rank()) and values that give the length of the array in each dimension. The target shape array
c_var_shape
should be allocated before calling this routine.Note that the returned shape representation will has been converted to C-style.
- Return
BMI status code
- Parameters
[in] c_var_address
: memory address string of the variable[inout] c_var_shape
: 1D array with the variable’s shape