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

Go to the source code of this file.

Modules

module  mf6bmierror
 Detailed error information for the BMI.
 

Functions/Subroutines

subroutine mf6bmierror::report_bmi_error (err_msg)
 Sets the last BMI error message and copies it to an exported C-string. More...
 
integer(kind=c_int) function mf6bmierror::get_last_bmi_error (c_error)
 Get the last error in the BMI as a character array with size BMI_LENERRMESSAGE. More...
 

Variables

integer, parameter mf6bmierror::bmi_failure = 1
 BMI status code for failure (taken from bmi.f90, CSDMS) More...
 
integer, parameter mf6bmierror::bmi_success = 0
 BMI status code for success (taken from bmi.f90, CSDMS) More...
 
integer(i4b), parameter mf6bmierror::lenerrmessage = 1024
 max length for the error message More...
 
integer(c_int), bind(C, name="BMI_LENERRMESSAGE") mf6bmierror::bmi_lenerrmessage = LENERRMESSAGE + 1
 max. length for the (exported) C-style error message More...
 
character(len=lenerrmessage) mf6bmierror::bmi_last_error = 'No BMI error reported'
 module variable containing the last error as a Fortran string More...
 
character(len= *), parameter mf6bmierror::fmt_general_err = "('BMI Error, ', a)"
 
character(len= *), parameter mf6bmierror::fmt_unknown_var = "('BMI Error, unknown variable: ', a, ' at ', a)"
 
character(len= *), parameter mf6bmierror::fmt_invalid_var = "('BMI Error, invalid address string: ', a)"
 
character(len= *), parameter mf6bmierror::fmt_unsupported_rank = "('BMI Error, unsupported rank for variable: ', a)"
 
character(len= *), parameter mf6bmierror::fmt_unsupported_type = "('BMI Error, unsupported type for variable: ', a)"
 
character(len= *), parameter mf6bmierror::fmt_invalid_mem_access = "('Fatal BMI Error, invalid access of memory for variable: ', a)"
 
character(len= *), parameter mf6bmierror::fmt_fail_cvg_sol = "('BMI Error, Numerical Solution ', i3, ' failed to converge')"