MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
mf6bmiUtil.f90 File Reference

Go to the source code of this file.

Modules

module  mf6bmiutil
 This module contains helper routines and parameters for the MODFLOW 6 BMI.
 

Functions/Subroutines

subroutine mf6bmiutil::split_address (c_var_address, mem_path, var_name, success)
 Split the variable address string. More...
 
subroutine mf6bmiutil::check_mem_address (mem_path, var_name, found)
 Check if the variable exists in the memory manager. More...
 
pure integer(i4b) function mf6bmiutil::strlen (char_array, max_len)
 Returns the string length without the trailing null character. More...
 
pure character(len=length) function mf6bmiutil::char_array_to_string (char_array, length)
 Convert C-style string to Fortran character string. More...
 
pure character(kind=c_char, len=1) function, dimension(length+1) mf6bmiutil::string_to_char_array (string, length)
 Convert Fortran string to C-style character string. More...
 
character(len=lenmodelname) function mf6bmiutil::extract_model_name (var_address, success)
 Extract the model name from a memory address string. More...
 
character(len=lenmodelname) function mf6bmiutil::get_model_name (grid_id)
 Get the model name from the grid id. More...
 
class(basesolutiontype) function, pointer mf6bmiutil::getsolution (subcomponent_idx)
 Get the solution object for this index. More...
 
subroutine mf6bmiutil::get_grid_type_model (model_name, grid_type_f)
 Get the grid type for a named model as a fortran string. More...
 
logical function mf6bmiutil::confirm_grid_type (grid_id, expected_type)
 Confirm that grid is of an expected type. More...
 

Variables

integer(i4b), parameter mf6bmiutil::lengridtype = 16
 max length for Fortran grid type string More...
 
integer(c_int), bind(C, name="BMI_LENVARTYPE") mf6bmiutil::bmi_lenvartype = LENMEMTYPE + 1
 max. length for variable type C-strings More...
 
integer(c_int), bind(C, name="BMI_LENGRIDTYPE") mf6bmiutil::bmi_lengridtype = LENGRIDTYPE + 1
 max. length for grid type C-strings More...
 
integer(c_int), bind(C, name="BMI_LENVARADDRESS") mf6bmiutil::bmi_lenvaraddress = LENMEMADDRESS + 1
 max. length for the variable's address C-string More...
 
integer(c_int), bind(C, name="BMI_LENCOMPONENTNAME") mf6bmiutil::bmi_lencomponentname = 256
 component name length, i.e. 'MODFLOW 6' More...
 
integer(c_int), bind(C, name="BMI_LENVERSION") mf6bmiutil::bmi_lenversion = 256
 length of version string, e.g. '6.3.1' or '6.4.1-dev' More...