Skip to content

Commit

Permalink
Changes to fix issue #341 (#342)
Browse files Browse the repository at this point in the history
* Changes to fix issue #341

* Fix the bug in a different way, as with the previous solution the
information read from the restart file is wrongly overwritten
  • Loading branch information
ukmo-juan-castillo authored Apr 1, 2021
1 parent fc3576f commit a436cb4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions model/ftn/ww3_shel.ftn
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
CHARACTER(LEN=80) :: LINE
CHARACTER(LEN=256) :: TMPLINE, TEST
CHARACTER(LEN=1024) :: FLDIN
CHARACTER(LEN=1024) :: FLDRST
CHARACTER(LEN=1024) :: FLDRST=''
CHARACTER(LEN=80) :: LINEIN
CHARACTER(LEN=8) :: WORDS(7)=''

Expand Down Expand Up @@ -1258,10 +1258,10 @@
IF (WORDS(7) .EQ. 'T') THEN
CALL NEXTLN ( COMSTR , NDSI , NDSEN )
READ (NDSI,*,END=2001,ERR=2002) FLDRST
CALL W3FLGRDFLAG ( NDSO, NDSO, NDSE, FLDRST, FLOGR, &
FLOGRR, IAPROC, NAPOUT, IERR )
IF ( IERR .NE. 0 ) GOTO 2222
END IF
CALL W3FLGRDFLAG ( NDSO, NDSO, NDSE, FLDRST, FLOGR, &
FLOGRR, IAPROC, NAPOUT, IERR )
IF ( IERR .NE. 0 ) GOTO 2222
ELSE
!
!INLINE NEW VARIABLE TO READ IF PRESENT OFILES(J), IF NOT ==0
Expand Down

0 comments on commit a436cb4

Please sign in to comment.