Skip to content

Commit

Permalink
Update mediation_integrate.F to remove redundant conditionals.
Browse files Browse the repository at this point in the history
  • Loading branch information
weiwangncar authored Feb 5, 2025
1 parent 7e446e6 commit 2c213bc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions share/mediation_integrate.F
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,8 @@ SUBROUTINE med_before_solve_io ( grid , config_flags )
! Write history for other streams at restart - James Ruppert - October 2024
!----------------------------------------------------------------------
DO ialarm = first_auxhist, last_auxhist
IF ( (config_flags%restart) .AND. ( currTime .EQ. startTime ) .AND. ( config_flags%write_hist_at_0h_rst )) THEN
! output history at beginning of restart
CALL med_hist_out ( grid , ialarm, config_flags )
ENDIF
! output history at beginning of restart
CALL med_hist_out ( grid , ialarm, config_flags )
ENDDO
ENDIF

Expand Down

0 comments on commit 2c213bc

Please sign in to comment.