- Timestamp:
- 2016-11-18T08:18:45+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5003_MERCATOR6_CRS/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r7217 r7256 83 83 USE crsini ! initialise grid coarsening utility 84 84 USE lbcnfd, ONLY: isendto, nsndto, nfsloop, nfeloop ! Setup of north fold exchanges 85 USE trabbl_crs85 !cbr USE trabbl_crs 86 86 USE sbc_oce, ONLY: lk_oasis 87 87 USE stopar … … 164 164 ENDIF 165 165 166 #if defined key_agrif 167 CALL Agrif_Regrid() 168 #endif 169 166 170 DO WHILE ( istp <= nitend .AND. nstop == 0 ) 167 171 #if defined key_agrif 168 CALL Agrif_Step( stp )! AGRIF: time stepping172 CALL stp ! AGRIF: time stepping 169 173 #else 170 174 CALL stp( istp ) ! standard time stepping … … 195 199 ! 196 200 #if defined key_agrif 197 CALL Agrif_ParentGrid_To_ChildGrid() 198 IF( lk_diaobs ) CALL dia_obs_wri 199 IF( nn_timing == 1 ) CALL timing_finalize 200 CALL Agrif_ChildGrid_To_ParentGrid() 201 IF( .NOT. Agrif_Root() ) THEN 202 CALL Agrif_ParentGrid_To_ChildGrid() 203 IF( lk_diaobs ) CALL dia_obs_wri 204 IF( nn_timing == 1 ) CALL timing_finalize 205 CALL Agrif_ChildGrid_To_ParentGrid() 206 ENDIF 201 207 #endif 202 208 IF( nn_timing == 1 ) CALL timing_finalize … … 342 348 jpj = ( jpjglo-2*jprecj + (jpnj-1) ) / jpnj + 2*jprecj ! second dim. 343 349 #endif 344 ENDIF 350 ENDIF 345 351 jpk = jpkdta ! third dim 352 #if defined key_agrif 353 ! simple trick to use same vertical grid as parent 354 ! but different number of levels: 355 ! Save maximum number of levels in jpkdta, then define all vertical grids 356 ! with this number. 357 ! Suppress once vertical online interpolation is ok 358 IF(.NOT.Agrif_Root()) jpkdta = Agrif_Parent(jpkdta) 359 #endif 346 360 jpim1 = jpi-1 ! inner domain indices 347 361 jpjm1 = jpj-1 ! " " … … 438 452 IF( lk_trabbl ) CALL tra_bbl_init ! advective (and/or diffusive) bottom boundary layer scheme 439 453 ! 440 IF( ln_crs_top .AND. lk_trabbl ) THEN441 CALL dom_grid_crs442 CALL tra_bbl_init_crs ! advective (and/or diffusive) bottom boundary layer scheme443 CALL dom_grid_glo444 ENDIF454 !cbr IF( ln_crs_top .AND. lk_trabbl ) THEN 455 ! CALL dom_grid_crs 456 ! CALL tra_bbl_init_crs ! advective (and/or diffusive) bottom boundary layer scheme 457 ! CALL dom_grid_glo 458 !ENDIF 445 459 ! 446 460 CALL tra_dmp_init ! internal damping trends- tracers … … 468 482 IF( ln_crs_top ) CALL dom_grid_crs 469 483 CALL trc_init 470 484 IF( ln_crs_top ) CALL ldf_tra_crs_init 471 485 IF( ln_crs_top ) CALL dom_grid_glo 472 486 #endif … … 735 749 INTEGER :: ifac, jl, inu 736 750 INTEGER, PARAMETER :: ntest = 14 737 INTEGER :: ilfax(ntest) 738 ! 739 ! lfax contains the set of allowed factors. 740 data (ilfax(jl),jl=1,ntest) / 16384, 8192, 4096, 2048, 1024, 512, 256, & 741 & 128, 64, 32, 16, 8, 4, 2 / 742 !!---------------------------------------------------------------------- 751 INTEGER, DIMENSION(ntest) :: ilfax 752 ! 753 ! ilfax contains the set of allowed factors. 754 ilfax(:) = (/(2**jl,jl=ntest,1,-1)/) 755 !!---------------------------------------------------------------------- 756 ! ilfax contains the set of allowed factors. 757 ilfax(:) = (/(2**jl,jl=ntest,1,-1)/) 743 758 744 759 ! Clear the error flag and initialise output vars
Note: See TracChangeset
for help on using the changeset viewer.