Skip to content

Commit 5e341e9

Browse files
committed
Minor edits
1 parent d03006e commit 5e341e9

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

sample_inputs/param.nml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,8 @@
591591
! isconsv = 0 !evaporation/precipitation model
592592
i_hmin_airsea_ex = 2 ! no effect if ihconsv=0
593593
hmin_airsea_ex = 0.2 ![m], no effect if ihconsv=0
594-
i_hmin_salt_ex = 2 ! no effect if PREC_EVAP is on
595-
hmin_salt_ex = 0.2 ![m], no effect if PREC_EVAP is on
594+
i_hmin_salt_ex = 2 ! no effect if PREC_EVAP is off
595+
hmin_salt_ex = 0.2 ![m], no effect if PREC_EVAP is off
596596
iprecip_off_bnd = 0 !if /=0, precip will be turned off near land bnd
597597
!watertype_* below are used for water type '8'
598598
watertype_rr = 0.58

src/Hydro/misc_subs.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,11 +552,11 @@ subroutine other_hot_init(time)
552552
deallocate(swild9)
553553
endif !iref_ts/=0
554554

555-
! The following to init th_dt*, th_time* and ath* is only done by
555+
! The following to init th_dt[-,2], th_time[-,2] and ath[-,2] is only done by
556556
! rank 0, not bcast'ed, b/c in _step we'll continue the reading
557557
! by rank 0 and only bcast the final
558558
! products of eth, trth (since they use global indices) etc,
559-
! and the th_dt[-,12], th_time[-,12] and ath[-,12] are not used further
559+
! and the th_dt[-,2], th_time[-,2] and ath[-,2] are not used further
560560
if(myrank==0) then
561561
!-----------------------------------------------------------------------------
562562
!... Init reading t.h. files

src/Hydro/schism_init.F90

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5268,6 +5268,11 @@ subroutine schism_init(iorder,indir,iths,ntime)
52685268

52695269
! Store i.c.
52705270
tr_nd0(3:ntracers,:,:)=tr_nd(3:ntracers,:,:)
5271+
5272+
!Init SED T
5273+
do i=1,nea
5274+
stemp(i)=tr_el(1,1,i)
5275+
enddo !i
52715276

52725277
if(myrank==0) write(16,*)'done init. tracers..'
52735278
! end user-defined tracer part
@@ -5558,7 +5563,7 @@ subroutine schism_init(iorder,indir,iths,ntime)
55585563
enddo !i
55595564
else !under cold start with ihot=0 or 1, init with bottom water T
55605565
do i=1,nea
5561-
stemp(i)=tr_el(1,kbe(i)+1,i)
5566+
stemp(i)=tr_el(1,1,i) !use level 1
55625567
enddo !i
55635568
endif
55645569

0 commit comments

Comments
 (0)