- Timestamp:
- 2020-11-25T14:49:40+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/ISOMIP+/MY_SRC/istate.F90
r13295 r13874 99 99 CALL dta_tsd( nit000, 'ini', ts(:,:,:,:,Kbb) ) ! read 3D T and S data at nit000 100 100 ! 101 ssh(:,:,Kbb) = 0._wp ! set the ocean at rest102 IF( ll_wd ) THEN103 ssh(:,:,Kbb) = -ssh_ref ! Added in 30 here for bathy that adds 30 as Iterative test CEOD104 !105 ! Apply minimum wetdepth criterion106 !107 DO_2D( 1, 1, 1, 1 )108 IF( ht_0(ji,jj) + ssh(ji,jj,Kbb) < rn_wdmin1 ) THEN109 ssh(ji,jj,Kbb) = tmask(ji,jj,1)*( rn_wdmin1 - (ht_0(ji,jj)) )110 ENDIF111 END_2D112 ENDIF101 !!st ssh(:,:,Kbb) = 0._wp ! set the ocean at rest 102 !!st IF( ll_wd ) THEN 103 !!st ssh(:,:,Kbb) = -ssh_ref ! Added in 30 here for bathy that adds 30 as Iterative test CEOD 104 !!st ! 105 !!st ! Apply minimum wetdepth criterion 106 !!st ! 107 !!st DO_2D( 1, 1, 1, 1 ) 108 !!st IF( ht_0(ji,jj) + ssh(ji,jj,Kbb) < rn_wdmin1 ) THEN 109 !!st ssh(ji,jj,Kbb) = tmask(ji,jj,1)*( rn_wdmin1 - (ht_0(ji,jj)) ) 110 !!st ENDIF 111 !!st END_2D 112 !!st ENDIF 113 113 uu (:,:,:,Kbb) = 0._wp 114 114 vv (:,:,:,Kbb) = 0._wp 115 115 ! 116 116 ELSE ! user defined initial T and S 117 CALL usr_def_istate( gdept(:,:,:,Kbb), tmask, ts(:,:,:,:,Kbb), uu(:,:,:,Kbb), vv(:,:,:,Kbb), ssh(:,:,Kbb) ) 117 CALL usr_def_istate( gdept(:,:,:,Kbb), tmask, ts(:,:,:,:,Kbb), uu(:,:,:,Kbb), vv(:,:,:,Kbb) ) 118 CALL usr_def_istate_ssh(tmask, ssh(:,:,Kbb) ) 118 119 ENDIF 119 120 ts (:,:,:,:,Kmm) = ts (:,:,:,:,Kbb) ! set now values from to before ones 120 ssh (:,:,Kmm) = ssh(:,:,Kbb)121 !!st ssh (:,:,Kmm) = ssh(:,:,Kbb) 121 122 uu (:,:,:,Kmm) = uu (:,:,:,Kbb) 122 123 vv (:,:,:,Kmm) = vv (:,:,:,Kbb)
Note: See TracChangeset
for help on using the changeset viewer.