Changeset 15023 for NEMO/trunk/src/OCE/DOM
- Timestamp:
- 2021-06-18T16:35:25+02:00 (3 years ago)
- Location:
- NEMO/trunk/src/OCE/DOM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/DOM/dom_oce.F90
r14834 r15023 38 38 LOGICAL , PUBLIC :: ln_1st_euler !: =T start with forward time step or not (=F) 39 39 LOGICAL , PUBLIC :: ln_crs !: Apply grid coarsening to dynamical model output or online passive tracers 40 LOGICAL , PUBLIC :: ln_c1d !: =T single column domain (1x1 pt) 40 41 41 42 !! Free surface parameters -
NEMO/trunk/src/OCE/DOM/domain.F90
r15014 r15023 11 11 !! NEMO 1.0 ! 2002-08 (G. Madec) F90: Free form and module 12 12 !! 2.0 ! 2005-11 (V. Garnier) Surface pressure gradient organization 13 !! 3.3 ! 2010-11 (G. Madec) initialisation in C1D configuration 13 !! 3.3 ! 2010-11 (G. Madec) initialisation in C1D configuration 14 14 !! 3.6 ! 2013 ( J. Simeon, C. Calone, G. Madec, C. Ethe ) Online coarsening of outputs 15 15 !! 3.7 ! 2015-11 (G. Madec, A. Coward) time varying zgr by default … … 46 46 USE dommsk ! domain: set the mask system 47 47 USE domwri ! domain: write the meshmask file 48 USE c1d ! 1D configuration49 USE dyncor_c1d ! 1D configuration: Coriolis term (cor_c1d routine)50 48 USE wet_dry , ONLY : ll_wd ! wet & drying flag 51 49 USE closea , ONLY : dom_clo ! closed seas routine 50 USE c1d 52 51 ! 53 52 USE in_out_manager ! I/O manager … … 129 128 CALL dom_tile_init ! Tile domain 130 129 130 IF( ln_c1d ) CALL c1d_init ! 1D column configuration 131 131 ! 132 132 CALL dom_hgr ! Horizontal mesh … … 226 226 #endif 227 227 228 !229 230 IF( lk_c1d ) CALL cor_c1d ! 1D configuration: Coriolis set at T-point231 228 ! 232 229 … … 320 317 & nn_stock, nn_write , ln_mskland , ln_clobber , nn_chunksz, ln_1st_euler , & 321 318 & ln_cfmeta, ln_xios_read, nn_wxios 322 NAMELIST/namdom/ ln_linssh, rn_Dt, rn_atfp, ln_crs, ln_ meshmask319 NAMELIST/namdom/ ln_linssh, rn_Dt, rn_atfp, ln_crs, ln_c1d, ln_meshmask 323 320 NAMELIST/namtile/ ln_tile, nn_ltile_i, nn_ltile_j 324 321 #if defined key_netcdf4 … … 361 358 WRITE(numout,*) ' asselin time filter parameter rn_atfp = ', rn_atfp 362 359 WRITE(numout,*) ' online coarsening of dynamical fields ln_crs = ', ln_crs 360 WRITE(numout,*) ' single column domain (1x1pt) ln_c1d = ', ln_c1d 363 361 ENDIF 364 362 ! -
NEMO/trunk/src/OCE/DOM/istate.F90
r14834 r15023 76 76 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 77 77 78 CALL dta_tsd_init ! Initialisation of T & S input data 79 80 ! IF( lk_c1d ) CALL dta_uvd_init ! Initialization of U & V input data 78 CALL dta_tsd_init ! Initialisation of T & S input data 79 IF( ln_c1d) CALL dta_uvd_init ! Initialisation of U & V input data (c1d only) 81 80 82 81 rhd (:,:,: ) = 0._wp ; rhop (:,:,: ) = 0._wp ! set one for all to 0 at level jpk … … 114 113 ! 115 114 IF( ln_tsd_init ) THEN 116 CALL dta_tsd( nit000, ts(:,:,:,:,Kbb) ) ! read 3D T and S data at nit000 117 ! 115 CALL dta_tsd( nit000, ts(:,:,:,:,Kbb) ) ! read 3D T and S data at nit000 116 ENDIF 117 ! 118 IF( ln_uvd_init .AND. ln_c1d ) THEN 119 CALL dta_uvd( nit000, Kbb, uu(:,:,:,Kbb), vv(:,:,:,Kbb) ) ! read 3D U and V data at nit000 120 ELSE 118 121 uu (:,:,:,Kbb) = 0._wp ! set the ocean at rest 119 122 vv (:,:,:,Kbb) = 0._wp 123 ENDIF 120 124 ! 121 ELSE ! user defined initial T and S 125 ! 126 IF( .NOT. ln_tsd_init .AND. .NOT. ln_uvd_init ) THEN 122 127 DO jk = 1, jpk 123 128 zgdept(:,:,jk) = gdept(:,:,jk,Kbb) … … 129 134 vv (:,:,:,Kmm) = vv (:,:,:,Kbb) 130 135 131 !132 !!gm ==>>> to be moved in usrdef_istate of C1D case133 IF ( ln_uvd_init .AND. lk_c1d ) THEN ! read 3D U and V data at nit000134 ALLOCATE( zuvd(jpi,jpj,jpk,2) )135 CALL dta_uvd( nit000, Kbb, zuvd )136 uu(:,:,:,Kbb) = zuvd(:,:,:,1) ; uu(:,:,:,Kmm) = uu(:,:,:,Kbb)137 vv(:,:,:,Kbb) = zuvd(:,:,:,2) ; vv(:,:,:,Kmm) = vv(:,:,:,Kbb)138 DEALLOCATE( zuvd )139 ENDIF140 !141 !142 136 ENDIF 143 137 #if defined key_agrif
Note: See TracChangeset
for help on using the changeset viewer.