Function mf6xmi::get_var_address

Function Documentation

integer(kind=c_int) function mf6xmi::get_var_address (c_component_name, c_subcomponent_name, c_var_name, c_var_address)

Get the full address string for a variable.

This routine constructs the full address string of a variable using the exact same logic as the internal memory manager. This routine should always be used when accessing a variable through the BMI to assure compatibility with future versions of the library.

Return

BMI status code

Parameters
  • [in] c_component_name: name of the component (a Model or Solution)

  • [in] c_subcomponent_name: name of the subcomponent (Package), or an empty string’’ when not applicable

  • [in] c_var_name: name of the variable

  • [out] c_var_address: full address of the variable