Skip to content

Commit 9a12d04

Browse files
committed
1 parent 5e892f4 commit 9a12d04

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

src/CMakeLists.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ foreach(F77FILE ${F77SRCS})
1818
if(${_FOUND_LEN72} GREATER -1)
1919
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS /4L72)
2020
else()
21-
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS /4L79)
21+
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS /4L80)
2222
endif()
2323
else()
2424
if(${_FOUND_LEN72} GREATER -1)
2525
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS -72)
2626
else()
27-
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS -79)
27+
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS -80)
2828
endif()
2929
endif()
3030
else() # gfortran tested only
3131
if(${_FOUND_LEN72} GREATER -1)
3232
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS -ffixed-line-length-72)
3333
else()
34-
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS -ffixed-line-length-79)
34+
set_source_files_properties(${F77FILE} PROPERTIES COMPILE_FLAGS -ffixed-line-length-80)
3535
endif()
3636
endif()
3737
endforeach()
@@ -59,7 +59,7 @@ if((NOT MSVC) AND (${First_Line_Of_Main_File} MATCHES " include 'modparm.f'
5959
endif ()
6060
# Build main.f first which includes modparm.f (i.e., parm.mod)
6161
add_custom_command(OUTPUT main.o
62-
COMMAND ${CMAKE_Fortran_COMPILER} ${Compile_Flags_List} -ffixed-line-length-79 -c
62+
COMMAND ${CMAKE_Fortran_COMPILER} ${Compile_Flags_List} -ffixed-line-length-80 -c
6363
${CMAKE_CURRENT_SOURCE_DIR}/modparm.f ${CMAKE_CURRENT_SOURCE_DIR}/main.f)
6464
# Build other source files that depend on main.o
6565
foreach(SRCFILE ${F77SRCS} ${F90SRCS})
@@ -71,7 +71,7 @@ if((NOT MSVC) AND (${First_Line_Of_Main_File} MATCHES " include 'modparm.f'
7171
endif()
7272
# Set compile flag according to Fortran line format. These should be consistent with settings above.
7373
if(${ext} STREQUAL ".f")
74-
set(Format_Flag "-ffixed-line-length-79")
74+
set(Format_Flag "-ffixed-line-length-80")
7575
else()
7676
set(Format_Flag "-ffree-line-length-none")
7777
endif()

src/HQDAV.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ SUBROUTINE HQDAV(A,CBW,QQ,SSS,ZCH,ZX,CHW,FPW,jrch)
22
! adopted from APEX1501 by Jaehak Jeong 2017
33
! THIS SUBPROGRAM COMPUTES FLOW AREA AND DEPTH GIVEN RATE in a reach
44

5-
USE PARM
6-
5+
USE PARM, except_this_one => HQDAV
6+
77
real*8, intent (in out) :: A, ZX, CHW, FPW
88
real*8, intent (in) :: CBW, QQ, SSS, ZCH
99
integer, intent (in) :: jrch

src/atri.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function atri(at1,at2,at3,at4i) result (r_atri)
3939

4040
!! ~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
4141

42-
use parm
42+
use parm, except_this_one => atri
4343

4444
real*8, intent (in) :: at1, at2, at3
4545
integer, intent (in out) :: at4i

src/layersplit.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
subroutine layersplit(dep_new)
22

3-
use parm
3+
use parm, except_this_one => layersplit
44
integer nly,n,j
55
integer :: flag
66
real*8, intent(in):: dep_new

src/ndenit.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
subroutine ndenit(k,j,cdg,wdn,void)
22
!! this subroutine computes denitrification
33

4-
use parm
4+
use parm, except_this_one => ndenit
55
integer :: k,j
66
real*8 :: cdg, wdn, void
77

src/regres.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ real*8 function regres(k) result (r_regres)
5050

5151
!! ~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
5252

53-
use parm
53+
use parm, except_this_one => regres
5454

5555
integer, intent (in) :: k
5656
real*8, dimension (5,3) :: beta

src/rsedaa.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ subroutine rsedaa(years)
2424

2525
!! ~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
2626

27-
use parm
27+
use parm, except_this_one => rsedaa
2828

2929
real*8, intent (in) :: years
3030
integer :: j

src/tair.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function tair(hr,jj) result (r_tair)
3737
!! Hydrology-Vrije Universiteit Brussel, Belgium
3838
!! subroutine modified by SLN
3939

40-
use parm
40+
use parm, except_this_one => tair
4141

4242
integer, intent (in) :: jj
4343
real*8, intent(in) :: hr

src/vbl.f

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ subroutine vbl(evx,spx,pp,qin,ox,vx1,vy,yi,yo,ysx,vf,vyf,aha)
5050

5151
!! ~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~
5252

53-
use parm
53+
use parm, except_this_one => vbl
5454

5555
real*8, intent (in) :: evx, spx, pp, qin, ox, yi, yo, ysx
5656
real*8, intent (in) :: vf, vyf, aha

0 commit comments

Comments
 (0)