Changeset 10322 for NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC
- Timestamp:
- 2018-11-16T16:06:47+01:00 (5 years ago)
- Location:
- NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC
- Files:
-
- 30 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/cpl_oasis3.F90
r9950 r10322 69 69 INTEGER, PUBLIC, PARAMETER :: nmaxcat=5 ! Maximum number of coupling fields 70 70 INTEGER, PUBLIC, PARAMETER :: nmaxcpl=5 ! Maximum number of coupling fields 71 LOGICAL, PARAMETER :: ltmp_wapatch = .TRUE. ! patch to restore wraparound rows in cpl_send, cpl_rcv, cpl_define 72 INTEGER :: nldi_save, nlei_save 73 INTEGER :: nldj_save, nlej_save 71 74 72 75 TYPE, PUBLIC :: FLD_CPL !: Type for coupling field information … … 87 90 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 88 91 !! $Id$ 89 !! Software governed by the CeCILL licen ce (./LICENSE)92 !! Software governed by the CeCILL license (see ./LICENSE) 90 93 !!---------------------------------------------------------------------- 91 94 CONTAINS … … 145 148 !!-------------------------------------------------------------------- 146 149 150 ! patch to restore wraparound rows in cpl_send, cpl_rcv, cpl_define 151 IF ( ltmp_wapatch ) THEN 152 nldi_save = nldi ; nlei_save = nlei 153 nldj_save = nldj ; nlej_save = nlej 154 IF( nimpp == 1 ) nldi = 1 155 IF( nimpp + jpi - 1 == jpiglo ) nlei = jpi 156 IF( njmpp == 1 ) nldj = 1 157 IF( njmpp + jpj - 1 == jpjglo ) nlej = jpj 158 ENDIF 147 159 IF(lwp) WRITE(numout,*) 148 160 IF(lwp) WRITE(numout,*) 'cpl_define : initialization in coupled ocean/atmosphere case' … … 296 308 IF( nerror /= OASIS_Ok ) CALL oasis_abort ( ncomp_id, 'cpl_define', 'Failure in oasis_enddef') 297 309 ! 310 IF ( ltmp_wapatch ) THEN 311 nldi = nldi_save ; nlei = nlei_save 312 nldj = nldj_save ; nlej = nlej_save 313 ENDIF 298 314 END SUBROUTINE cpl_define 299 315 … … 313 329 INTEGER :: jc,jm ! local loop index 314 330 !!-------------------------------------------------------------------- 331 ! patch to restore wraparound rows in cpl_send, cpl_rcv, cpl_define 332 IF ( ltmp_wapatch ) THEN 333 nldi_save = nldi ; nlei_save = nlei 334 nldj_save = nldj ; nlej_save = nlej 335 IF( nimpp == 1 ) nldi = 1 336 IF( nimpp + jpi - 1 == jpiglo ) nlei = jpi 337 IF( njmpp == 1 ) nldj = 1 338 IF( njmpp + jpj - 1 == jpjglo ) nlej = jpj 339 ENDIF 315 340 ! 316 341 ! snd data to OASIS3 … … 341 366 ENDDO 342 367 ENDDO 368 IF ( ltmp_wapatch ) THEN 369 nldi = nldi_save ; nlei = nlei_save 370 nldj = nldj_save ; nlej = nlej_save 371 ENDIF 343 372 ! 344 373 END SUBROUTINE cpl_snd … … 361 390 LOGICAL :: llaction, llfisrt 362 391 !!-------------------------------------------------------------------- 392 ! patch to restore wraparound rows in cpl_send, cpl_rcv, cpl_define 393 IF ( ltmp_wapatch ) THEN 394 nldi_save = nldi ; nlei_save = nlei 395 nldj_save = nldj ; nlej_save = nlej 396 ENDIF 363 397 ! 364 398 ! receive local data from OASIS3 on every process … … 367 401 ! 368 402 DO jc = 1, srcv(kid)%nct 403 IF ( ltmp_wapatch ) THEN 404 IF( nimpp == 1 ) nldi = 1 405 IF( nimpp + jpi - 1 == jpiglo ) nlei = jpi 406 IF( njmpp == 1 ) nldj = 1 407 IF( njmpp + jpj - 1 == jpjglo ) nlej = jpj 408 ENDIF 369 409 llfisrt = .TRUE. 370 410 … … 408 448 ENDDO 409 449 450 IF ( ltmp_wapatch ) THEN 451 nldi = nldi_save ; nlei = nlei_save 452 nldj = nldj_save ; nlej = nlej_save 453 ENDIF 410 454 !--- Fill the overlap areas and extra hallows (mpp) 411 455 !--- check periodicity conditions (all cases) -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/cyclone.F90
r9950 r10322 39 39 # include "vectopt_loop_substitute.h90" 40 40 !!---------------------------------------------------------------------- 41 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 41 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 42 42 !! $Id$ 43 !! Software governed by the CeCILL licen ce (modipsl/doc/NEMO_CeCILL.txt)43 !! Software governed by the CeCILL license (see ./LICENSE) 44 44 !!---------------------------------------------------------------------- 45 45 -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/fldread.F90
r9950 r10322 125 125 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 126 126 !! $Id$ 127 !! Software governed by the CeCILL licen ce (./LICENSE)127 !! Software governed by the CeCILL license (see ./LICENSE) 128 128 !!---------------------------------------------------------------------- 129 129 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/geo2ocean.F90
r9950 r10322 55 55 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 56 56 !! $Id$ 57 !! Software governed by the CeCILL licen ce (./LICENSE)57 !! Software governed by the CeCILL license (see ./LICENSE) 58 58 !!---------------------------------------------------------------------- 59 59 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/ocealb.F90
- Property svn:keywords set to Id
r9950 r10322 22 22 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 23 23 !! $Id$ 24 !! Software governed by the CeCILL licen ce (./LICENSE)24 !! Software governed by the CeCILL license (see ./LICENSE) 25 25 !!---------------------------------------------------------------------- 26 26 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbc_ice.F90
r9950 r10322 109 109 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 110 110 !! $Id$ 111 !! Software governed by the CeCILL licen ce (./LICENSE)111 !! Software governed by the CeCILL license (see ./LICENSE) 112 112 !!---------------------------------------------------------------------- 113 113 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbc_oce.F90
r9950 r10322 154 154 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 155 155 !! $Id$ 156 !! Software governed by the CeCILL licen ce (./LICENSE)156 !! Software governed by the CeCILL license (see ./LICENSE) 157 157 !!---------------------------------------------------------------------- 158 158 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcapr.F90
r9950 r10322 41 41 42 42 !!---------------------------------------------------------------------- 43 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 43 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 44 44 !! $Id$ 45 !! Software governed by the CeCILL licen ce (./LICENSE)45 !! Software governed by the CeCILL license (see ./LICENSE) 46 46 !!---------------------------------------------------------------------- 47 47 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcblk.F90
- Property svn:keywords set to Id
r9950 r10322 136 136 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 137 137 !! $Id$ 138 !! Software governed by the CeCILL licen ce (./LICENSE)138 !! Software governed by the CeCILL license (see ./LICENSE) 139 139 !!---------------------------------------------------------------------- 140 140 CONTAINS … … 239 239 !drag coefficient read from wave model definable only with mfs bulk formulae and core 240 240 ELSEIF (ln_cdgw .AND. .NOT. ln_NCAR ) THEN 241 CALL ctl_stop( 'drag coefficient read from wave model definable only with mfs bulk formulae and core')241 CALL ctl_stop( 'drag coefficient read from wave model definable only with NCAR and CORE bulk formulae') 242 242 ELSEIF (ln_stcor .AND. .NOT. ln_sdw) THEN 243 243 CALL ctl_stop( 'Stokes-Coriolis term calculated only if activated Stokes Drift ln_sdw=T') -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcblk_algo_coare.F90
- Property svn:keywords set to Id
-
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcblk_algo_coare3p5.F90
- Property svn:keywords set to Id
-
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcblk_algo_ecmwf.F90
- Property svn:keywords set to Id
-
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcblk_algo_ncar.F90
- Property svn:keywords set to Id
r9570 r10322 149 149 Ch = 1.e-3*sqrt_Cd_n10*(18.*stab + 32.7*(1. - stab)) 150 150 stab = sqrt_Cd_n10 ! Temporaty array !!! stab == SQRT(Cd) 151 152 IF( ln_cdgw ) Cen = Ce ; Chn = Ch 151 153 152 154 !! Initializing values at z_u with z_t values: … … 186 188 IF( ln_cdgw ) THEN ! surface wave case 187 189 stab = vkarmn / ( vkarmn / sqrt_Cd_n10 - ztmp2 ) ! (stab == SQRT(Cd)) 188 Cd = stab * stab 190 Cd = stab * stab 191 ztmp0 = (LOG(zu/10.) - zpsi_h_u) / vkarmn / sqrt_Cd_n10 192 ztmp2 = stab / sqrt_Cd_n10 ! (stab == SQRT(Cd)) 193 ztmp1 = 1. + Chn * ztmp0 194 Ch = Chn * ztmp2 / ztmp1 ! L&Y 2004 eq. (10b) 195 ztmp1 = 1. + Cen * ztmp0 196 Ce = Cen * ztmp2 / ztmp1 ! L&Y 2004 eq. (10c) 197 189 198 ELSE 190 199 ! Update neutral wind speed at 10m and neutral Cd at 10m (L&Y 2004 eq. 9a)... … … 205 214 Cd = ztmp0 / ( ztmp1*ztmp1 ) 206 215 stab = SQRT( Cd ) ! Temporary array !!! (stab == SQRT(Cd)) 207 ENDIF 208 209 ztmp0 = (LOG(zu/10.) - zpsi_h_u) / vkarmn / sqrt_Cd_n10210 ztmp2 = stab / sqrt_Cd_n10 ! (stab == SQRT(Cd))211 ztmp1 = 1. + Cx_n10*ztmp0 ! (Cx_n10 == Ch_n10)212 Ch = Cx_n10*ztmp2 / ztmp1 ! L&Y 2004 eq. (10b) 213 214 Cx_n10 = 1.e-3 * (34.6 * sqrt_Cd_n10) ! L&Y 2004 eq. (6b) ! Cx_n10 == Ce_n10215 Cen(:,:) = Cx_n10216 ztmp1 = 1. + Cx_n10*ztmp0217 Ce = Cx_n10*ztmp2 / ztmp1 ! L&Y 2004 eq. (10c)216 217 ztmp0 = (LOG(zu/10.) - zpsi_h_u) / vkarmn / sqrt_Cd_n10 218 ztmp2 = stab / sqrt_Cd_n10 ! (stab == SQRT(Cd)) 219 ztmp1 = 1. + Cx_n10*ztmp0 ! (Cx_n10 == Ch_n10) 220 Ch = Cx_n10*ztmp2 / ztmp1 ! L&Y 2004 eq. (10b) 221 222 Cx_n10 = 1.e-3 * (34.6 * sqrt_Cd_n10) ! L&Y 2004 eq. (6b) ! Cx_n10 == Ce_n10 223 Cen(:,:) = Cx_n10 224 ztmp1 = 1. + Cx_n10*ztmp0 225 Ce = Cx_n10*ztmp2 / ztmp1 ! L&Y 2004 eq. (10c) 226 ENDIF 218 227 ! 219 228 END DO -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbccpl.F90
r9950 r10322 202 202 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 203 203 !! $Id$ 204 !! Software governed by the CeCILL licen ce (./LICENSE)204 !! Software governed by the CeCILL license (see ./LICENSE) 205 205 !!---------------------------------------------------------------------- 206 206 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcdcy.F90
r9950 r10322 31 31 32 32 !!---------------------------------------------------------------------- 33 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 33 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 34 34 !! $Id$ 35 !! Software governed by the CeCILL licen ce (./LICENSE)35 !! Software governed by the CeCILL license (see ./LICENSE) 36 36 !!---------------------------------------------------------------------- 37 37 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcflx.F90
r9950 r10322 40 40 # include "vectopt_loop_substitute.h90" 41 41 !!---------------------------------------------------------------------- 42 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 42 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 43 43 !! $Id$ 44 !! Software governed by the CeCILL licen ce (./LICENSE)44 !! Software governed by the CeCILL license (see ./LICENSE) 45 45 !!---------------------------------------------------------------------- 46 46 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcfwb.F90
r9950 r10322 44 44 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 45 45 !! $Id$ 46 !! Software governed by the CeCILL licen ce (./LICENSE)46 !! Software governed by the CeCILL license (see ./LICENSE) 47 47 !!---------------------------------------------------------------------- 48 48 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcice_cice.F90
r9950 r10322 89 89 90 90 !!---------------------------------------------------------------------- 91 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 91 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 92 92 !! $Id$ 93 !! Software governed by the CeCILL licen ce (./LICENSE)93 !! Software governed by the CeCILL license (see ./LICENSE) 94 94 !!---------------------------------------------------------------------- 95 95 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcice_if.F90
r9950 r10322 38 38 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 39 39 !! $Id$ 40 !! Software governed by the CeCILL licen ce (./LICENSE)40 !! Software governed by the CeCILL license (see ./LICENSE) 41 41 !!---------------------------------------------------------------------- 42 42 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcisf.F90
r9950 r10322 71 71 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 72 72 !! $Id$ 73 !! Software governed by the CeCILL licen ce (modipsl/doc/NEMO_CeCILL.txt)73 !! Software governed by the CeCILL license (see ./LICENSE) 74 74 !!---------------------------------------------------------------------- 75 75 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcmod.F90
r9950 r10322 69 69 70 70 !!---------------------------------------------------------------------- 71 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 71 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 72 72 !! $Id$ 73 !! Software governed by the CeCILL licen ce (./LICENSE)73 !! Software governed by the CeCILL license (see ./LICENSE) 74 74 !!---------------------------------------------------------------------- 75 75 CONTAINS … … 157 157 WRITE(numout,*) ' wave modified ocean stress component ln_tauw = ', ln_tauw 158 158 WRITE(numout,*) ' Stokes coriolis term ln_stcor = ', ln_stcor 159 WRITE(numout,*) ' neutral drag coefficient (CORE, MFS) ln_cdgw = ', ln_cdgw 160 ENDIF 161 ! 159 WRITE(numout,*) ' neutral drag coefficient (CORE,NCAR) ln_cdgw = ', ln_cdgw 160 ENDIF 161 ! 162 IF( .NOT.ln_wave ) THEN 163 ln_sdw = .false. ; ln_cdgw = .false. ; ln_tauwoc = .false. ; ln_tauw = .false. ; ln_stcor = .false. 164 ENDIF 162 165 IF( ln_sdw ) THEN 163 166 IF( .NOT.(nn_sdrift==jp_breivik_2014 .OR. nn_sdrift==jp_li_2017 .OR. nn_sdrift==jp_peakfr) ) & -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcrnf.F90
r9950 r10322 71 71 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 72 72 !! $Id$ 73 !! Software governed by the CeCILL licen ce (./LICENSE)73 !! Software governed by the CeCILL license (see ./LICENSE) 74 74 !!---------------------------------------------------------------------- 75 75 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcssm.F90
r9950 r10322 34 34 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 35 35 !! $Id$ 36 !! Software governed by the CeCILL licen ce (./LICENSE)36 !! Software governed by the CeCILL license (see ./LICENSE) 37 37 !!---------------------------------------------------------------------- 38 38 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcssr.F90
r9950 r10322 49 49 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 50 50 !! $Id$ 51 !! Software governed by the CeCILL licen ce (./LICENSE)51 !! Software governed by the CeCILL license (see ./LICENSE) 52 52 !!---------------------------------------------------------------------- 53 53 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbctide.F90
r9950 r10322 35 35 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 36 36 !! $Id$ 37 !! Software governed by the CeCILL licen ce (./LICENSE)37 !! Software governed by the CeCILL license (see ./LICENSE) 38 38 !!---------------------------------------------------------------------- 39 39 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/sbcwave.F90
r10012 r10322 74 74 # include "vectopt_loop_substitute.h90" 75 75 !!---------------------------------------------------------------------- 76 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 76 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 77 77 !! $Id$ 78 !! Software governed by the CeCILL licen ce (./LICENSE)78 !! Software governed by the CeCILL license (see ./LICENSE) 79 79 !!---------------------------------------------------------------------- 80 80 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/tide.h90
- Property svn:keywords set to Id
-
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/tide_mod.F90
r9950 r10322 34 34 35 35 !!---------------------------------------------------------------------- 36 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 36 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 37 37 !! $Id$ 38 !! Software governed by the CeCILL licen ce (modipsl/doc/NEMO_CeCILL.txt)38 !! Software governed by the CeCILL license (see ./LICENSE) 39 39 !!---------------------------------------------------------------------- 40 40 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/tideini.F90
r9950 r10322 41 41 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 42 42 !! $Id$ 43 !! Software governed by the CeCILL licen ce (./LICENSE)43 !! Software governed by the CeCILL license (see ./LICENSE) 44 44 !!---------------------------------------------------------------------- 45 45 CONTAINS -
NEMO/branches/UKMO/dev_r9950_GO8_package/src/OCE/SBC/updtide.F90
r9950 r10322 23 23 !! NEMO/OCE 4.0 , NEMO Consortium (2018) 24 24 !! $Id$ 25 !! Software governed by the CeCILL licen ce (./LICENSE)25 !! Software governed by the CeCILL license (see ./LICENSE) 26 26 !!---------------------------------------------------------------------- 27 27 CONTAINS
Note: See TracChangeset
for help on using the changeset viewer.