MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
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.
subroutine mf6bmiutil::check_mem_address (mem_path, var_name, found)
 Check if the variable exists in the memory manager.
subroutine mf6bmiutil::warn_deprecated_address (mem_path, var_name)
 Store a warning the first time a deprecated variable name is used.
pure integer(i4b) function mf6bmiutil::strlen (char_array, max_len)
 Returns the string length without the trailing null character.
pure character(len=length) function mf6bmiutil::char_array_to_string (char_array, length)
 Convert C-style string to Fortran character string.
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.
character(len=lenmodelname) function mf6bmiutil::extract_model_name (var_address, success)
 Extract the model name from a memory address string.
character(len=lenmodelname) function mf6bmiutil::get_model_name (grid_id)
 Get the model name from the grid id.
class(basesolutiontype) function, pointer mf6bmiutil::getsolution (subcomponent_idx)
 Get the solution object for this index.
subroutine mf6bmiutil::get_grid_type_model (model_name, grid_type_f)
 Get the grid type for a named model as a fortran string.
logical function mf6bmiutil::confirm_grid_type (grid_id, expected_type)
 Confirm that grid is of an expected type.

Variables

integer(i4b), parameter mf6bmiutil::lengridtype = 16
 max length for Fortran grid type string
integer(i4b), parameter mf6bmiutil::lenunits = 16
 max length for Fortran units string
integer(i4b), parameter mf6bmiutil::lenvarlocation = 16
 max length for Fortran variable location string
integer(c_int), bind(C, name="BMI_LENVARTYPE") mf6bmiutil::bmi_lenvartype = LENMEMTYPE + 1
 max. length for variable type C-strings
integer(c_int), bind(C, name="BMI_LENGRIDTYPE") mf6bmiutil::bmi_lengridtype = LENGRIDTYPE + 1
 max. length for grid type C-strings
integer(c_int), bind(C, name="BMI_LENUNITS") mf6bmiutil::bmi_lenunits = LENUNITS + 1
 max. length for units C-strings
integer(c_int), bind(C, name="BMI_LENVARLOCATION") mf6bmiutil::bmi_lenvarlocation = LENVARLOCATION + 1
 max. length for variable location C-strings
integer(c_int), bind(C, name="BMI_LENVARADDRESS") mf6bmiutil::bmi_lenvaraddress = LENMEMADDRESS + 1
 max. length for the variable's address C-string
integer(c_int), bind(C, name="BMI_LENCOMPONENTNAME") mf6bmiutil::bmi_lencomponentname = 256
 component name length, i.e. 'MODFLOW 6'
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'