Changeset 15006
- Timestamp:
- 2021-06-17T11:13:03+02:00 (3 years ago)
- Location:
- NEMO/branches/2021/ticket2680_C1D_PAPA/src/OCE
- Files:
-
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2021/ticket2680_C1D_PAPA/src/OCE/C1D/c1d.F90
r12377 r15006 28 28 REAL(wp), PUBLIC :: rn_lat1d !: Column latitude 29 29 REAL(wp), PUBLIC :: rn_lon1d !: Column longitude 30 LOGICAL , PUBLIC :: ln_c1d_locpt !: Localization (or not) of 1D column in a grid31 30 32 31 !!---------------------------------------------------------------------- … … 47 46 INTEGER :: ios ! Local integer 48 47 !! 49 NAMELIST/namc1d/ rn_lat1d, rn_lon1d , ln_c1d_locpt48 NAMELIST/namc1d/ rn_lat1d, rn_lon1d 50 49 !!---------------------------------------------------------------------- 51 50 ! … … 64 63 WRITE(numout,*) ' column latitude rn_lat1d = ', rn_lat1d 65 64 WRITE(numout,*) ' column longitude rn_lon1d = ', rn_lon1d 66 WRITE(numout,*) ' column localization in a grid ln_c1d_locpt = ', ln_c1d_locpt67 65 ENDIF 68 66 ! … … 76 74 LOGICAL, PUBLIC, PARAMETER :: lk_c1d = .FALSE. !: 1D config. flag de-activated 77 75 REAL(wp) :: rn_lat1d, rn_lon1d 78 LOGICAL , PUBLIC :: ln_c1d_locpt = .FALSE.79 76 CONTAINS 80 77 SUBROUTINE c1d_init ! Dummy routine -
NEMO/branches/2021/ticket2680_C1D_PAPA/src/OCE/DOM/dom_oce.F90
r14834 r15006 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/branches/2021/ticket2680_C1D_PAPA/src/OCE/DOM/domain.F90
r14834 r15006 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 configuration14 13 !! 3.6 ! 2013 ( J. Simeon, C. Calone, G. Madec, C. Ethe ) Online coarsening of outputs 15 14 !! 3.7 ! 2015-11 (G. Madec, A. Coward) time varying zgr by default … … 46 45 USE dommsk ! domain: set the mask system 47 46 USE domwri ! domain: write the meshmask file 48 USE c1d ! 1D configuration49 USE dyncor_c1d ! 1D configuration: Coriolis term (cor_c1d routine)50 47 USE wet_dry , ONLY : ll_wd ! wet & drying flag 51 48 USE closea , ONLY : dom_clo ! closed seas routine … … 228 225 ! 229 226 230 IF( lk_c1d ) CALL cor_c1d ! 1D configuration: Coriolis set at T-point231 !232 233 227 #if defined key_agrif 234 228 IF( .NOT. Agrif_Root() ) CALL Agrif_Init_Domain( Kbb, Kmm, Kaa ) … … 320 314 & nn_stock, nn_write , ln_mskland , ln_clobber , nn_chunksz, ln_1st_euler , & 321 315 & ln_cfmeta, ln_xios_read, nn_wxios 322 NAMELIST/namdom/ ln_linssh, rn_Dt, rn_atfp, ln_crs, ln_ meshmask316 NAMELIST/namdom/ ln_linssh, rn_Dt, rn_atfp, ln_crs, ln_c1d, ln_meshmask 323 317 NAMELIST/namtile/ ln_tile, nn_ltile_i, nn_ltile_j 324 318 #if defined key_netcdf4 … … 361 355 WRITE(numout,*) ' asselin time filter parameter rn_atfp = ', rn_atfp 362 356 WRITE(numout,*) ' online coarsening of dynamical fields ln_crs = ', ln_crs 357 WRITE(numout,*) ' single column domain (1x1pt) ln_c1d = ', ln_c1d 363 358 ENDIF 364 359 ! -
NEMO/branches/2021/ticket2680_C1D_PAPA/src/OCE/DOM/istate.F90
r14834 r15006 29 29 USE wet_dry ! wetting and drying (needed for wad_istate) 30 30 USE usrdef_istate ! User defined initial state 31 USE c1d 31 32 ! 32 33 USE in_out_manager ! I/O manager -
NEMO/branches/2021/ticket2680_C1D_PAPA/src/OCE/IOM/iom.F90
r14834 r15006 22 22 USE dom_oce ! ocean space and time domain 23 23 USE domutl ! 24 USE c1d ! 1D vertical configuration25 24 USE flo_oce ! floats module declarations 26 25 USE lbclnk ! lateal boundary condition / mpp exchanges … … 1410 1409 #endif 1411 1410 ENDIF 1412 !some final adjustments1413 ! C1D case : always call lbc_lnk to replicate the central value over the whole 3X3 domain1414 IF( lk_c1d .AND. PRESENT(pv_r2d) ) CALL lbc_lnk( 'iom', pv_r2d,'Z',1.0_wp )1415 IF( lk_c1d .AND. PRESENT(pv_r3d) ) CALL lbc_lnk( 'iom', pv_r3d,'Z',1.0_wp )1416 1411 1417 1412 !--- Apply scale_factor and offset -
NEMO/branches/2021/ticket2680_C1D_PAPA/src/OCE/nemogcm.F90
r14834 r15006 59 59 USE dia25h , ONLY : dia_25h_init ! 25h mean output (initialisation) 60 60 USE c1d ! 1D configuration 61 USE step_c1d ! Time stepping loop for the 1D configuration62 61 #if defined key_top 63 62 USE trcini ! passive tracer initialisation … … 143 142 ! 144 143 istp = nit000 145 !146 #if defined key_c1d147 DO WHILE ( istp <= nitend .AND. nstop == 0 ) !== C1D time-stepping ==!148 CALL stp_c1d( istp )149 istp = istp + 1150 END DO151 #else152 144 ! 153 145 # if defined key_agrif … … 204 196 ! 205 197 # endif 206 !207 #endif208 198 ! 209 199 IF( ln_diaobs ) CALL dia_obs_wri
Note: See TracChangeset
for help on using the changeset viewer.