Skip to content

Commit 5e8e87e

Browse files
authored
Merge pull request #669 from naveenragur/patch-2
updated for override_order line in topo.data affecting 1d radial flat…
2 parents d26daee + 88f7af8 commit 5e8e87e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/1d_classic/shallow/topo_module.f90

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module topo_module
2323
real(kind=8), allocatable, dimension(:,:) :: dz_dtopo, dz_cell
2424
real(kind=8) :: dt_max_dtopo
2525
logical :: topo_finalized
26+
logical :: override_topo_order
2627

2728
contains
2829

@@ -54,10 +55,9 @@ subroutine read_topo_settings(file_name)
5455
write(6,*) '*** Currently require exactly 1 topofile'
5556
stop
5657
endif
57-
58+
read(iunit,*) override_topo_order
5859
read(iunit,*) topofname
5960
close(iunit)
60-
6161
call read_topo_file(topofname)
6262

6363
end subroutine read_topo_settings
@@ -74,7 +74,6 @@ subroutine read_topo_file(fname)
7474
integer, parameter :: iunit = 7
7575

7676
open(unit=iunit, file=trim(fname), status='unknown',form='formatted')
77-
7877
read(iunit,*) mx_topo
7978
allocate(xtopo(mx_topo), ztopo(mx_topo))
8079

0 commit comments

Comments
 (0)