Skip to content

Commit e13cbac

Browse files
committed
removed initialization but in seagrass
1 parent a668a5b commit e13cbac

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/extras/seagrass/seagrass.F90

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ subroutine init_seagrass()
6868
!
6969
! !LOCAL VARIABLES:
7070
class (type_gotm_settings), pointer :: branch
71-
!! GOTM settings variable
72-
integer :: i
7371
!EOP
7472
!-----------------------------------------------------------------------
7573
!BOC
@@ -80,7 +78,7 @@ subroutine init_seagrass()
8078
call branch%get(grassfile, 'file', 'path to file with grass specifications', default='seagrass.dat')
8179
call branch%get(alpha, 'alpha', 'efficiency of leafes turbulence production', '',default=0._rk)
8280

83-
if (i .ne. 0) seagrass_calc = .true.
81+
if (method .ne. 0) seagrass_calc = .true.
8482

8583
if (seagrass_calc) LEVEL2 'seagrass initialise ...'
8684
end subroutine init_seagrass

0 commit comments

Comments
 (0)