Skip to content

Commit 9a70334

Browse files
fangjianfangjian
authored andcommitted
temp upload
1 parent 8bc8dc0 commit 9a70334

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/readwrite.F90

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ subroutine readinput
531531
! local data
532532
character(len=64) :: inputfile
533533
character(len=5) :: char
534-
integer :: n,fh,i
534+
integer :: n,fh,i,ios
535535
!
536536
if(mpirank==0) then
537537
!
@@ -629,7 +629,8 @@ subroutine readinput
629629
read(fh,'(/)')
630630
read(fh,*)ninit
631631
read(fh,'(/)')
632-
read(fh,*)spg_i0,spg_im,spg_j0,spg_jm,spg_k0,spg_km,spg_def
632+
read(fh,*)spg_i0,spg_im,spg_j0,spg_jm,spg_k0,spg_km
633+
spg_def='layer'
633634
read(fh,'(/)')
634635
read(fh,'(A)')gridfile
635636
if(limmbou) then

0 commit comments

Comments
 (0)