Skip to content

Commit

Permalink
fix(FlowModelInterface.f90): re-install if statement for proper messa…
Browse files Browse the repository at this point in the history
…ging (#1531)
  • Loading branch information
emorway-usgs authored Dec 30, 2023
1 parent 6bb6eb0 commit 3c47f5b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/Model/ModelUtilities/FlowModelInterface.f90
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,17 @@ subroutine fmi_df(this, dis)
&' VERSION 2, 8/17/2023')"

! --print a message identifying the FMI package.
if (this%inunit /= 0) then
write (this%iout, fmtfmi) this%inunit
else
write (this%iout, fmtfmi0)
if (this%flows_from_file) then
write (this%iout, '(a)') ' FLOWS ARE ASSUMED TO BE ZERO.'
if (this%iout > 0) then
if (this%inunit /= 0) then
write (this%iout, fmtfmi) this%inunit
else
write (this%iout, '(a)') ' FLOWS PROVIDED BY A GWF MODEL IN THIS &
&SIMULATION'
write (this%iout, fmtfmi0)
if (this%flows_from_file) then
write (this%iout, '(a)') ' FLOWS ARE ASSUMED TO BE ZERO.'
else
write (this%iout, '(a)') ' FLOWS PROVIDED BY A GWF MODEL IN THIS &
&SIMULATION'
end if
end if
end if
!
Expand Down

0 comments on commit 3c47f5b

Please sign in to comment.