- Timestamp:
- 2020-06-03T16:30:02+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/OCE/DOM/istate.F90
r12489 r13026 35 35 USE lib_mpp ! MPP library 36 36 USE restart ! restart 37 #if defined key_agrif 38 USE agrif_oce_interp 39 USE agrif_oce 40 #endif 37 41 38 42 IMPLICIT NONE … … 70 74 !!gm Why not include in the first call of dta_tsd ? 71 75 !!gm probably associated with the use of internal damping... 72 76 CALL dta_tsd_init ! Initialisation of T & S input data 73 77 !!gm to be moved in usrdef of C1D case 74 78 ! IF( lk_c1d ) CALL dta_uvd_init ! Initialization of U & V input data … … 97 101 ! 98 102 IF( ln_tsd_init ) THEN 99 CALL dta_tsd( nit000, ts(:,:,:,:,Kbb) ) ! read 3D T and S data at nit000 103 IF( Agrif_root() ) THEN 104 CALL dta_tsd( nit000, ts(:,:,:,:,Kbb) ) ! read 3D T and S data at nit000 105 ssh(:,:,Kbb) = 0._wp ! set the ocean at rest 106 uu (:,:,:,Kbb) = 0._wp 107 vv (:,:,:,Kbb) = 0._wp 108 #if defined key_agrif 109 ELSE 110 CALL agrif_istate( Kbb, Kmm, Kaa ) 111 #endif 112 ENDIF 100 113 ! 101 ssh(:,:,Kbb) = 0._wp ! set the ocean at rest102 114 IF( ll_wd ) THEN 103 115 ssh(:,:,Kbb) = -ssh_ref ! Added in 30 here for bathy that adds 30 as Iterative test CEOD … … 111 123 END_2D 112 124 ENDIF 113 uu (:,:,:,Kbb) = 0._wp 114 vv (:,:,:,Kbb) = 0._wp 115 ! 125 ! 116 126 ELSE ! user defined initial T and S 117 127 CALL usr_def_istate( gdept(:,:,:,Kbb), tmask, ts(:,:,:,:,Kbb), uu(:,:,:,Kbb), vv(:,:,:,Kbb), ssh(:,:,Kbb) )
Note: See TracChangeset
for help on using the changeset viewer.