Changeset 392
- Timestamp:
- 2006-03-10T11:55:45+01:00 (19 years ago)
- Location:
- trunk/NEMO/OPA_SRC
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DIA/diaptr.F90
r389 r392 88 88 !! * local declarations 89 89 INTEGER :: ji, jj, jk ! dummy loop arguments 90 #if ! defined key_ AGRIF90 #if ! defined key_agrif 91 91 INTEGER :: ijpj = jpj ! ??? 92 92 #else … … 96 96 p_fval ! function value 97 97 !!-------------------------------------------------------------------- 98 #if defined key_ AGRIF98 #if defined key_agrif 99 99 ijpj = jpj 100 100 #endif … … 136 136 !! * local declarations 137 137 INTEGER :: ji,jj ! dummy loop arguments 138 #if ! defined key_ AGRIF138 #if ! defined key_agrif 139 139 INTEGER :: ijpj = jpj ! ??? 140 140 #else … … 144 144 p_fval ! function value 145 145 !!-------------------------------------------------------------------- 146 #if defined key_ AGRIF146 #if defined key_agrif 147 147 ijpj = jpj 148 148 #endif -
trunk/NEMO/OPA_SRC/DOM/dom_oce.F90
r389 r392 197 197 ! ! parameterize exchanges through straits 198 198 199 #if defined key_ AGRIF199 #if defined key_agrif 200 200 !!---------------------------------------------------------------------- 201 201 !! agrif sponge layer -
trunk/NEMO/OPA_SRC/DOM/domain.F90
r389 r392 264 264 ENDIF 265 265 266 #if defined key_ AGRIF266 #if defined key_agrif 267 267 if ( Agrif_Root() ) then 268 268 #endif … … 278 278 IF(lwp) WRITE(numout,*) ' The IOIPSL calendar is "360d", i.e. 360 days in a year' 279 279 END SELECT 280 #if defined key_ AGRIF280 #if defined key_agrif 281 281 endif 282 282 #endif -
trunk/NEMO/OPA_SRC/DOM/domhgr.F90
r389 r392 236 236 gphi0 = - ppe2_m * 1.e-3 237 237 238 #if defined key_ AGRIF&& defined key_eel_r6238 #if defined key_agrif && defined key_eel_r6 239 239 IF (.Not.Agrif_Root()) THEN 240 240 glam0 = Agrif_Parent(glam0) + (Agrif_ix())*Agrif_Parent(ppe1_m) * 1.e-3 … … 434 434 zphi0 = ppgphi0 - FLOAT( jpjglo/2) * ppe2_m / ( ra * rad ) ! latitude of the first row F-points 435 435 436 #if defined key_ AGRIF&& defined key_eel_r6436 #if defined key_agrif && defined key_eel_r6 437 437 IF (.Not.Agrif_Root()) THEN 438 438 zphi0 = ppgphi0 - FLOAT( Agrif_Parent(jpjglo)/2)*Agrif_Parent(ppe2_m) / (ra * rad) … … 513 513 !!---------------------------------------------------------------------- 514 514 clname = 'coordinates' 515 #if defined key_ AGRIF515 #if defined key_agrif 516 516 if ( .NOT. Agrif_Root() ) then 517 517 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/DOM/domwri.F90
r389 r392 104 104 clnam4 = 'mesh_zgr' ! filename (vertical mesh informations) 105 105 106 #if defined key_ AGRIF106 #if defined key_agrif 107 107 if ( .NOT. Agrif_Root() ) then 108 108 clnam0 = TRIM(Agrif_CFixed())//'_'//TRIM(clnam0) -
trunk/NEMO/OPA_SRC/DOM/domzgr.F90
r389 r392 391 391 392 392 clname = 'bathy_level.nc' ! Level bathymetry 393 #if defined key_ AGRIF393 #if defined key_agrif 394 394 if ( .NOT. Agrif_Root() ) then 395 395 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) … … 420 420 421 421 clname = 'bathy_meter.nc' ! meter bathymetry 422 #if defined key_ AGRIF422 #if defined key_agrif 423 423 if ( .NOT. Agrif_Root() ) then 424 424 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/DTA/dtasal.F90
r389 r392 121 121 122 122 clname = 'data_1m_salinity_nomask' 123 #if defined key_ AGRIF123 #if defined key_agrif 124 124 if ( .NOT. Agrif_Root() ) then 125 125 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/DTA/dtasst.F90
r389 r392 94 94 !!---------------------------------------------------------------------- 95 95 clname = 'sst_1d.nc' 96 #if defined key_ AGRIF96 #if defined key_agrif 97 97 if ( .NOT. Agrif_Root() ) then 98 98 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/DTA/dtatem.F90
r389 r392 100 100 cl_tdata = 'data_1m_potential_temperature_nomask ' 101 101 102 #if defined key_ AGRIF102 #if defined key_agrif 103 103 if ( .NOT. Agrif_Root() ) then 104 104 cl_tdata = TRIM(Agrif_CFixed())//'_'//TRIM(cl_tdata) -
trunk/NEMO/OPA_SRC/DYN/divcur.F90
r389 r392 130 130 IF( lp_obc_south ) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south 131 131 #endif 132 #if defined key_ AGRIF132 #if defined key_agrif 133 133 if ( .NOT. AGRIF_Root() ) then 134 134 IF ((nbondi == 1).OR.(nbondi == 2)) hdivn(nlci-1 , : ,jk) = 0.e0 ! east … … 334 334 IF( lp_obc_south ) hdivn(nis0 :nis1 ,njs0 :njs1 ,jk) = 0.e0 ! south 335 335 #endif 336 #if defined key_ AGRIF336 #if defined key_agrif 337 337 if ( .NOT. AGRIF_Root() ) then 338 338 IF ((nbondi == 1).OR.(nbondi == 2)) hdivn(nlci-1 , : ,jk) = 0.e0 ! east -
trunk/NEMO/OPA_SRC/DYN/dynnxt.F90
r389 r392 135 135 ! ! =============== 136 136 # endif 137 # if defined key_ AGRIF137 # if defined key_agrif 138 138 ! ! =============== 139 139 END DO ! End of slab … … 178 178 ENDIF 179 179 180 #if defined key_ AGRIF180 #if defined key_agrif 181 181 IF (.NOT.Agrif_Root()) CALL Agrif_Update_Dyn( kt ) 182 182 #endif -
trunk/NEMO/OPA_SRC/DYN/dynspg_flt.F90
r389 r392 171 171 CALL obc_vol( kt ) 172 172 #endif 173 #if defined key_ AGRIF173 #if defined key_agrif 174 174 ! Update velocities on each coarse/fine interfaces 175 175 … … 239 239 IF( nsolv == 4 ) CALL lbc_lnk_e( gcb, c_solver_pt, 1. ) 240 240 241 #if defined key_ AGRIF241 #if defined key_agrif 242 242 243 243 If (.NOT.AGRIF_ROOT()) THEN … … 315 315 END DO 316 316 317 #if defined key_ AGRIF317 #if defined key_agrif 318 318 IF (.NOT. Agrif_Root()) THEN 319 319 ! caution : grad D (fine) = grad D (coarse) at coarse/fine interface -
trunk/NEMO/OPA_SRC/DYN/dynspg_flt_jki.F90
r358 r392 37 37 USE prtctl ! Print control 38 38 USE in_out_manager ! I/O manager 39 USE agrif_opa_interp 39 40 40 41 IMPLICIT NONE … … 178 179 CALL obc_vol( kt ) 179 180 #endif 181 #if defined key_agrif 182 ! Update velocities on each coarse/fine interfaces 183 184 CALL Agrif_dyn( kt ) 185 186 #endif 180 187 #if defined key_orca_r2 181 188 IF( n_cla == 1 ) CALL dyn_spg_cla( kt ) ! Cross Land Advection (Update (ua,va)) … … 237 244 ! applied the lateral boundary conditions 238 245 IF( nsolv == 4) CALL lbc_lnk_e( gcb, c_solver_pt, 1. ) 246 247 #if defined key_agrif 248 249 If (.NOT.AGRIF_ROOT()) THEN 250 251 ! add contribution of gradient of after barotropic transport divergence 252 IF ((nbondi == -1).OR.(nbondi == 2)) gcb(3,:) = gcb(3,:) & 253 -znugdt * z2dt*laplacu(2,:)*gcdprc(3,:)*hu(2,:)*e2u(2,:) 254 IF ((nbondi == 1).OR.(nbondi == 2)) gcb(nlci-2,:) = gcb(nlci-2,:) & 255 +znugdt * z2dt*laplacu(nlci-2,:)*gcdprc(nlci-2,:)*hu(nlci-2,:)*e2u(nlci-2,:) 256 IF ((nbondj == -1).OR.(nbondj == 2)) gcb(:,3) = gcb(:,3) & 257 -znugdt * z2dt*laplacv(:,2)*gcdprc(:,3)*hv(:,2)*e1v(:,2) 258 IF ((nbondj == 1).OR.(nbondj == 2)) gcb(:,nlcj-2) = gcb(:,nlcj-2) & 259 +znugdt * z2dt*laplacv(:,nlcj-2)*gcdprc(:,nlcj-2)*hv(:,nlcj-2)*e1v(:,nlcj-2) 260 261 ENDIF 262 263 #endif 239 264 240 265 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,synchro,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, … … 310 335 END DO 311 336 337 #if defined key_agrif 338 IF (.NOT. Agrif_Root()) THEN 339 ! caution : grad D (fine) = grad D (coarse) at coarse/fine interface 340 IF ((nbondi == -1).OR.(nbondi == 2)) spgu(2,:) = znugdt * z2dt * laplacu(2,:) * umask(2,:,1) 341 IF ((nbondi == 1).OR.(nbondi == 2)) spgu(nlci-2,:) = znugdt * z2dt * laplacu(nlci-2,:) * umask(nlci-2,:,1) 342 IF ((nbondj == -1).OR.(nbondj == 2)) spgv(:,2) = znugdt * z2dt * laplacv(:,2) * vmask(:,2,1) 343 IF ((nbondj == 1).OR.(nbondj == 2)) spgv(:,nlcj-2) = znugdt * z2dt * laplacv(:,nlcj-2) * vmask(:,nlcj-2,1) 344 ENDIF 345 #endif 346 312 347 ! 7. Add the trends multiplied by z2dt to the after velocity 313 348 ! ----------------------------------------------------------- -
trunk/NEMO/OPA_SRC/SBC/flx_bulk_monthly.h90
r389 r392 132 132 133 133 ! title, dimensions and tests 134 #if defined key_ AGRIF134 #if defined key_agrif 135 135 if ( .NOT. Agrif_Root() ) then 136 136 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/SBC/flx_forced_daily.h90
r389 r392 123 123 IF(lwp) WRITE (numout,*) iy 124 124 WRITE(clname,'("flx_1d.nc")') 125 #if defined key_ AGRIF125 #if defined key_agrif 126 126 if ( .NOT. Agrif_Root() ) then 127 127 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/SBC/tau_forced_daily.h90
r389 r392 93 93 ENDIF 94 94 ! title, dimensions and tests 95 #if defined key_ AGRIF95 #if defined key_agrif 96 96 if ( .NOT. Agrif_Root() ) then 97 97 cl_taux = TRIM(Agrif_CFixed())//'_'//TRIM(cl_taux) … … 117 117 nstop = nstop + 1 118 118 ENDIF 119 #if defined key_ AGRIF119 #if defined key_agrif 120 120 if ( .NOT. Agrif_Root() ) then 121 121 cl_tauy = TRIM(Agrif_CFixed())//'_'//TRIM(cl_tauy) -
trunk/NEMO/OPA_SRC/SBC/tau_forced_monthly.h90
r389 r392 109 109 ! title, dimensions and tests 110 110 111 #if defined key_ AGRIF111 #if defined key_agrif 112 112 if ( .NOT. Agrif_Root() ) then 113 113 cl_taux = TRIM(Agrif_CFixed())//'_'//TRIM(cl_taux) … … 134 134 nstop = nstop + 1 135 135 ENDIF 136 #if defined key_ AGRIF136 #if defined key_agrif 137 137 if ( .NOT. Agrif_Root() ) then 138 138 cl_tauy = TRIM(Agrif_CFixed())//'_'//TRIM(cl_tauy) -
trunk/NEMO/OPA_SRC/SOL/sol_oce.F90
r389 r392 67 67 gccd !: vector such that ca.gccd=a.d (ca-1=gcdprc) 68 68 69 #if defined key_ AGRIF69 #if defined key_agrif 70 70 REAL(wp), DIMENSION(jpi,jpj) :: laplacu, laplacv 71 71 #endif -
trunk/NEMO/OPA_SRC/SOL/solmat.F90
r389 r392 183 183 !!cr ENDIF 184 184 #endif 185 #if defined key_ AGRIF185 #if defined key_agrif 186 186 IF (.NOT.AGRIF_ROOT()) THEN 187 187 -
trunk/NEMO/OPA_SRC/TRA/trabbc.F90
r389 r392 189 189 ! read the geothermal fluxes in mW/m2 190 190 clname = 'geothermal_heating' 191 #if defined key_ AGRIF191 #if defined key_agrif 192 192 if ( .NOT. Agrif_Root() ) then 193 193 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/TRA/tradmp.F90
r389 r392 36 36 !! * Shared module variables 37 37 LOGICAL , PUBLIC & 38 #if ! defined key_ AGRIF38 #if ! defined key_agrif 39 39 , PARAMETER & 40 40 #endif -
trunk/NEMO/OPA_SRC/TRA/tranxt.F90
r389 r392 110 110 ! ! =============== 111 111 #endif 112 #if defined key_ AGRIF112 #if defined key_agrif 113 113 ! ! =============== 114 114 END DO ! End of slab … … 185 185 ENDIF 186 186 187 #if defined key_ AGRIF187 #if defined key_agrif 188 188 IF (.NOT.Agrif_Root()) CALL Agrif_Update_Tra( kt ) 189 189 #endif -
trunk/NEMO/OPA_SRC/ctlopn.F90
r387 r392 12 12 !! 8.5 ! 02-06 (G. Madec) F90: Free form and module 13 13 !!---------------------------------------------------------------------- 14 #if defined key_ AGRIF14 #if defined key_agrif 15 15 USE Agrif_Util 16 16 #endif … … 18 18 19 19 INTEGER, INTENT( in ) :: & 20 #if !defined key_ AGRIF20 #if !defined key_agrif 21 21 knum, & ! logical unit to open 22 22 #endif … … 31 31 cdform, & ! formatting specifier 32 32 cdstat ! disposition specifier 33 #if !defined key_ AGRIF33 #if !defined key_agrif 34 34 CHARACTER (len=* ), INTENT( in ) :: & 35 35 cdfile ! file name to open … … 38 38 LOGICAL :: ldwp ! boolean term for print 39 39 40 #if defined key_ AGRIF40 #if defined key_agrif 41 41 LOGICAL :: op 42 42 INTEGER, INTENT( inout ) :: & … … 51 51 !!---------------------------------------------------------------------- 52 52 53 #if defined key_ AGRIF53 #if defined key_agrif 54 54 if ( .NOT. Agrif_Root() ) then 55 55 cdfile= TRIM(Agrif_CFixed())//'_'//TRIM(cdfile) -
trunk/NEMO/OPA_SRC/istate.F90
r389 r392 330 330 itime = 0 331 331 clname = 'eel.initemp' 332 #if defined key_ AGRIF332 #if defined key_agrif 333 333 if ( .NOT. Agrif_Root() ) then 334 334 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/lib_mpp.F90
r389 r392 288 288 CASE ( 'S' ) ! Standard mpi send (blocking) 289 289 WRITE(numout,*) ' Standard blocking mpi send (send)' 290 #if defined key_ AGRIF290 #if defined key_agrif 291 291 IF ( Agrif_Root() ) THEN 292 292 #endif 293 293 CALL mpi_init( ierr ) 294 #if defined key_ AGRIF294 #if defined key_agrif 295 295 ENDIF 296 296 #endif 297 297 CASE ( 'B' ) ! Buffer mpi send (blocking) 298 298 WRITE(numout,*) ' Buffer blocking mpi send (bsend)' 299 #if defined key_ AGRIF299 #if defined key_agrif 300 300 IF ( Agrif_Root() ) THEN 301 301 #endif 302 302 CALL mpi_init_opa( ierr ) 303 #if defined key_ AGRIF303 #if defined key_agrif 304 304 ENDIF 305 305 #endif … … 307 307 WRITE(numout,*) ' Immediate non-blocking send (isend)' 308 308 l_isend = .TRUE. 309 #if defined key_ AGRIF309 #if defined key_agrif 310 310 IF ( Agrif_Root() ) THEN 311 311 #endif 312 312 CALL mpi_init( ierr ) 313 #if defined key_ AGRIF313 #if defined key_agrif 314 314 ENDIF 315 315 #endif -
trunk/NEMO/OPA_SRC/mppini_2.h90
r389 r392 122 122 clvar = 'Bathy_level' 123 123 ENDIF 124 #if defined key_ AGRIF124 #if defined key_agrif 125 125 if ( .NOT. Agrif_Root() ) then 126 126 clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/opa.F90
r389 r392 110 110 !!---------------------------------------------------------------------- 111 111 112 #if defined key_ AGRIF112 #if defined key_agrif 113 113 114 114 Call Agrif_Init_Grids() … … 120 120 istp = nit000 121 121 DO WHILE ( istp <= nitend .AND. nstop == 0 ) 122 #if defined key_ AGRIF122 #if defined key_agrif 123 123 CALL Agrif_Step(stp_1d) 124 124 #else … … 130 130 istp = nit000 131 131 DO WHILE ( istp <= nitend .AND. nstop == 0 ) 132 #if defined key_ AGRIF132 #if defined key_agrif 133 133 CALL Agrif_Step(stp) 134 134 #else -
trunk/NEMO/OPA_SRC/par_EEL_R2.h90
r389 r392 9 9 !!---------------------------------------------------------------------- 10 10 CHARACTER (len=16) & 11 #if !defined key_ AGRIF11 #if !defined key_agrif 12 12 , PARAMETER & 13 13 #endif … … 15 15 cp_cfg = "eel" !: name of the configuration 16 16 INTEGER & 17 #if !defined key_ AGRIF17 #if !defined key_agrif 18 18 , PARAMETER & 19 19 #endif -
trunk/NEMO/OPA_SRC/par_EEL_R5.h90
r389 r392 9 9 !!---------------------------------------------------------------------- 10 10 CHARACTER (len=16) & 11 #if !defined key_ AGRIF11 #if !defined key_agrif 12 12 , PARAMETER & 13 13 #endif 14 14 :: & 15 15 INTEGER & 16 #if !defined key_ AGRIF16 #if !defined key_agrif 17 17 , PARAMETER & 18 18 #endif -
trunk/NEMO/OPA_SRC/par_EEL_R6.h90
r389 r392 9 9 !!---------------------------------------------------------------------- 10 10 CHARACTER (len=16) & 11 #if !defined key_ AGRIF11 #if !defined key_agrif 12 12 , PARAMETER & 13 13 #endif … … 15 15 cp_cfg = "eel" !: name of the configuration 16 16 INTEGER & 17 #if !defined key_ AGRIF17 #if !defined key_agrif 18 18 , PARAMETER & 19 19 #endif … … 62 62 ! of the constraint that the equator be a T point. 63 63 REAL(wp) & 64 #if !defined key_ AGRIF64 #if !defined key_agrif 65 65 , PARAMETER & 66 66 #endif -
trunk/NEMO/OPA_SRC/par_GYRE.h90
r389 r392 9 9 !!---------------------------------------------------------------------- 10 10 CHARACTER (len=16) & 11 #if !defined key_ AGRIF11 #if !defined key_agrif 12 12 , PARAMETER & 13 13 #endif … … 15 15 cp_cfg = "gyre" !: name of the configuration 16 16 INTEGER & 17 #if !defined key_ AGRIF17 #if !defined key_agrif 18 18 , PARAMETER & 19 19 #endif -
trunk/NEMO/OPA_SRC/par_ORCA_R025.h90
r389 r392 10 10 !!---------------------------------------------------------------------- 11 11 CHARACTER (len=16) & 12 #if !defined key_ AGRIF12 #if !defined key_agrif 13 13 , PARAMETER & 14 14 #endif … … 16 16 cp_cfg = "orca" !: name of the configuration 17 17 INTEGER & 18 #if !defined key_ AGRIF18 #if !defined key_agrif 19 19 , PARAMETER & 20 20 #endif -
trunk/NEMO/OPA_SRC/par_ORCA_R05.h90
r389 r392 10 10 !!---------------------------------------------------------------------- 11 11 CHARACTER (len=16) & 12 #if !defined key_ AGRIF12 #if !defined key_agrif 13 13 , PARAMETER & 14 14 #endif … … 16 16 cp_cfg = "orca" !: name of the configuration 17 17 INTEGER & 18 #if !defined key_ AGRIF18 #if !defined key_agrif 19 19 , PARAMETER & 20 20 #endif … … 30 30 ! zoom domain size !!! * antarctic zoom * 31 31 INTEGER & 32 #if !defined key_ AGRIF32 #if !defined key_agrif 33 33 , PARAMETER & 34 34 #endif … … 48 48 ! zoom domain size !!! * arctic zoom * 49 49 INTEGER & 50 #if !defined key_ AGRIF50 #if !defined key_agrif 51 51 , PARAMETER & 52 52 #endif … … 67 67 ! global domain size !!! * global domain * 68 68 INTEGER & 69 #if !defined key_ AGRIF69 #if !defined key_agrif 70 70 , PARAMETER & 71 71 #endif -
trunk/NEMO/OPA_SRC/par_ORCA_R2.h90
r389 r392 10 10 !!---------------------------------------------------------------------- 11 11 CHARACTER (len=16) & 12 #if !defined key_ AGRIF12 #if !defined key_agrif 13 13 , PARAMETER & 14 14 #endif … … 16 16 cp_cfg = "orca" !: name of the configuration 17 17 INTEGER & 18 #if !defined key_ AGRIF18 #if !defined key_agrif 19 19 , PARAMETER & 20 20 #endif … … 30 30 ! zoom domain size !!! * antarctic zoom * 31 31 INTEGER & 32 #if !defined key_ AGRIF32 #if !defined key_agrif 33 33 , PARAMETER & 34 34 #endif … … 48 48 ! zoom domain size !!! * arctic zoom * 49 49 INTEGER & 50 #if !defined key_ AGRIF50 #if !defined key_agrif 51 51 , PARAMETER & 52 52 #endif … … 66 66 ! global domain size !!! * global domain * 67 67 INTEGER & 68 #if !defined key_ AGRIF68 #if !defined key_agrif 69 69 , PARAMETER & 70 70 #endif … … 95 95 ! global domain size !!! * global domain * 96 96 INTEGER & 97 #if !defined key_ AGRIF97 #if !defined key_agrif 98 98 , PARAMETER & 99 99 #endif -
trunk/NEMO/OPA_SRC/par_ORCA_R4.h90
r389 r392 10 10 !!---------------------------------------------------------------------- 11 11 CHARACTER (len=16) & 12 #if !defined key_ AGRIF12 #if !defined key_agrif 13 13 , PARAMETER & 14 14 #endif … … 16 16 cp_cfg = "orca" !: name of the configuration 17 17 INTEGER & 18 #if !defined key_ AGRIF18 #if !defined key_agrif 19 19 , PARAMETER & 20 20 #endif -
trunk/NEMO/OPA_SRC/par_oce.F90
r389 r392 169 169 !!--------------------------------------------------------------------- 170 170 INTEGER & !: 171 #if !defined key_ AGRIF171 #if !defined key_agrif 172 172 ,PARAMETER & 173 173 #endif … … 180 180 jpij = jpi*jpj !: jpi x jpj 181 181 182 #if defined key_ AGRIF182 #if defined key_agrif 183 183 !!--------------------------------------------------------------------- 184 184 !! Agrif variables -
trunk/NEMO/OPA_SRC/restart.F90
r389 r392 88 88 REAL(wp), DIMENSION(10) :: zinfo(10) 89 89 REAL(wp), DIMENSION(jpi,jpj) :: ztab 90 #if defined key_ AGRIF90 #if defined key_agrif 91 91 Integer :: knum 92 92 #endif … … 127 127 INQUIRE( FILE=crestart, EXIST=llbon ) 128 128 IF(llbon) THEN 129 #if defined key_ AGRIF129 #if defined key_agrif 130 130 knum =Agrif_Get_Unit() 131 131 OPEN( UNIT=knum, FILE=crestart, STATUS='old' ) … … 275 275 !!---------------------------------------------------------------------- 276 276 clname = 'restart' 277 #if defined key_ AGRIF277 #if defined key_agrif 278 278 inum = Agrif_Get_Unit() 279 279 If(.NOT. Agrif_root() ) clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) -
trunk/NEMO/OPA_SRC/restart_dimg.h90
r389 r392 62 62 irecl8= jpi * jpj * wp 63 63 WRITE(clres,'(a,i3.3)') 'restart.output.',narea 64 #if defined key_ AGRIF64 #if defined key_agrif 65 65 inum = Agrif_Get_Unit() 66 66 If(.NOT. Agrif_root() ) clres = TRIM(Agrif_CFixed())//'_'//TRIM(clres) … … 273 273 ! Open direct access file, with reclength for 2D wp fields 274 274 WRITE(clres,'(a,i3.3)') 'restart.',narea 275 #if defined key_ AGRIF275 #if defined key_agrif 276 276 inum = Agrif_Get_Unit() 277 277 If(.NOT. Agrif_root() ) clres = TRIM(Agrif_CFixed())//'_'//TRIM(clres) -
trunk/NEMO/OPA_SRC/step.F90
r389 r392 118 118 USE prtctl ! Print control (prt_ctl routine) 119 119 120 #if defined key_ AGRIF120 #if defined key_agrif 121 121 USE agrif_opa_sponge ! Momemtum and tracers sponges 122 122 #endif … … 140 140 141 141 SUBROUTINE stp( & 142 #if !defined key_ AGRIF142 #if !defined key_agrif 143 143 kstp & 144 144 #endif … … 175 175 !! * Arguments 176 176 INTEGER & 177 #if !defined key_ AGRIF177 #if !defined key_agrif 178 178 , INTENT( in ) & 179 179 #endif … … 184 184 !! --------------------------------------------------------------------- 185 185 186 #if defined key_ AGRIF186 #if defined key_agrif 187 187 kstp = nit000 + Agrif_Nb_Step() 188 188 IF ( Agrif_Root() .and. lwp) Write(*,*) '---' … … 336 336 IF( l_traldf_iso_zps ) CALL tra_ldf_iso_zps( kstp ) ! partial step iso-neutral/geopot. laplacian 337 337 338 #if defined key_ AGRIF338 #if defined key_agrif 339 339 IF (.NOT. Agrif_Root()) CALL Agrif_Sponge_tra( kstp ) ! tracers sponge 340 340 #endif … … 386 386 IF( l_dynldf_iso ) CALL dyn_ldf_iso ( kstp ) ! iso-neutral laplacian 387 387 388 #if defined key_ AGRIF388 #if defined key_agrif 389 389 IF (.NOT. Agrif_Root()) CALL Agrif_Sponge_dyn( kstp ) ! momemtum sponge 390 390 #endif
Note: See TracChangeset
for help on using the changeset viewer.