Skip to content

Commit

Permalink
adjust name to reflect it is an API variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Jul 20, 2023
1 parent 9e57468 commit 22a1f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions srcbmi/mf6bmi.f90
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ module mf6bmi

integer(c_int), bind(C, name="ISTDOUTTOFILE") :: istdout_to_file = 1 !< output control: =0 to screen, >0 to file
!DIR$ ATTRIBUTES DLLEXPORT :: istdout_to_file
integer(c_int), bind(C, name="ISIM_MODE_C_INT") :: isim_mode_c_int = MNORMAL !< simulation mode MVALIDATE=0, MNORMAL=1, MRUN=2
!DIR$ ATTRIBUTES DLLEXPORT :: isim_mode_c_int
integer(c_int), bind(C, name="ISIM_MODE_API") :: isim_mode_api = MNORMAL !< simulation mode MVALIDATE=0, MNORMAL=1, MRUN=2
!DIR$ ATTRIBUTES DLLEXPORT :: isim_mode_api

contains

Expand Down Expand Up @@ -71,7 +71,7 @@ function bmi_initialize() result(bmi_status) bind(C, name="initialize")
! -- local variables
!
! -- set isim_mode
isim_mode = isim_mode_c_int
isim_mode = isim_mode_api
!
if (istdout_to_file > 0) then
! -- open stdout file mfsim.stdout
Expand Down

0 comments on commit 22a1f60

Please sign in to comment.