Function mf6bmi::get_value_ptr_double

Function Documentation

integer(kind=c_int) function mf6bmi::get_value_ptr_double (c_var_address, c_arr_ptr)

Get a pointer to the array of double precision numbers.

The array is located at c_var_address. There is no copying of data involved. Multi-dimensional arrays are supported and the get_var_rank() function can be used to get the variable’s dimensionality, and get_var_shape() for its shape.

Return

BMI status code

Parameters
  • [in] c_var_address: memory address string of the variable

  • [inout] c_arr_ptr: pointer to the array