Changeset 10727 for utils/tools_AGRIF_CMEMS_2020/DOMAINcfg/src/domain.F90
- Timestamp:
- 2019-02-27T17:02:02+01:00 (5 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
utils/tools_AGRIF_CMEMS_2020/DOMAINcfg/src/domain.F90
r10725 r10727 24 24 USE dom_oce ! domain: ocean 25 25 USE phycst ! physical constants 26 USE closea ! closed seas26 ! USE closea ! closed seas 27 27 USE domhgr ! domain: set the horizontal mesh 28 28 USE domzgr ! domain: set the vertical mesh 29 USE domstp ! domain: set the time-step29 ! USE domstp ! domain: set the time-step 30 30 USE dommsk ! domain: set the mask system 31 31 USE domwri ! domain: write the meshmask file … … 43 43 44 44 PUBLIC dom_init ! called by opa.F90 45 PUBLIC dom_nam ! called by opa.F90 46 PUBLIC cfg_write ! called by opa.F90 45 47 46 48 !!------------------------------------------------------------------------- … … 72 74 !!---------------------------------------------------------------------- 73 75 ! 74 IF( nn_timing == 1 ) CALL timing_start('dom_init')76 ! IF( nn_timing == 1 ) CALL timing_start('dom_init') 75 77 ! 76 78 IF(lwp) THEN … … 83 85 ! 84 86 CALL dom_nam ! read namelist ( namrun, namdom ) 85 CALL dom_clo ! Closed seas and lake 87 ! CALL dom_clo ! Closed seas and lake 88 86 89 CALL dom_hgr ! Horizontal mesh 87 90 CALL dom_zgr ! Vertical mesh and bathymetry … … 135 138 CALL cfg_write ! create the configuration file 136 139 ! 137 IF( nn_timing == 1 ) CALL timing_stop('dom_init')140 ! IF( nn_timing == 1 ) CALL timing_stop('dom_init') 138 141 ! 139 142 END SUBROUTINE dom_init … … 156 159 & nn_stock, nn_write , ln_mskland , ln_clobber , nn_chunksz, nn_euler , & 157 160 & ln_cfmeta, ln_iscpl 158 NAMELIST/namdom/ nn_bathy, rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin, rn_isfhmin, & 161 NAMELIST/namdom/ nn_bathy, cn_topo, cn_bath, cn_lon, cn_lat, nn_interp, & 162 & rn_bathy , rn_e3zps_min, rn_e3zps_rat, nn_msh, rn_hmin, rn_isfhmin, & 159 163 & rn_atfp , rn_rdt , nn_closea , ln_crs , jphgr_msh , & 160 164 & ppglam0, ppgphi0, ppe1_deg, ppe2_deg, ppe1_m, ppe2_m, & … … 209 213 ENDIF 210 214 211 no = nn_no ! conversion DOCTOR names into model names (this should disappear soon)212 215 cexper = cn_exp 213 216 nrstdt = nn_rstctl … … 271 274 WRITE(numout,*) ' Namelist namdom : space & time domain' 272 275 WRITE(numout,*) ' flag read/compute bathymetry nn_bathy = ', nn_bathy 276 IF( nn_bathy == 2 ) THEN 277 WRITE(numout,*) ' compute bathymetry from file cn_topo = ', cn_topo 278 ENDIF 273 279 WRITE(numout,*) ' Depth (if =0 bathy=jpkm1) rn_bathy = ', rn_bathy 274 280 WRITE(numout,*) ' min depth of the ocean (>0) or rn_hmin = ', rn_hmin … … 331 337 !!---------------------------------------------------------------------- 332 338 ! 339 #undef CHECK_DOM 340 #ifdef CHECK_DOM 333 341 IF(lk_mpp) THEN 334 342 CALL mpp_minloc( e1t(:,:), tmask_i(:,:), ze1min, iimi1,ijmi1 ) … … 364 372 WRITE(numout,"(14x,'e2t mini: ',1f10.2,' at i = ',i5,' j= ',i5)") ze2min, iimi2, ijmi2 365 373 ENDIF 374 #endif 366 375 ! 367 376 END SUBROUTINE dom_ctl … … 400 409 ! 401 410 clnam = 'domain_cfg' ! filename (configuration information) 402 CALL iom_open( TRIM(clnam), inum, ldwrt = .TRUE. , kiolib = jprstlib )411 CALL iom_open( TRIM(clnam), inum, ldwrt = .TRUE.)!, kiolib = jprstlib ) 403 412 404 413 !
Note: See TracChangeset
for help on using the changeset viewer.