Changeset 11149
- Timestamp:
- 2019-06-20T12:48:17+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdydyn2d.F90
r11074 r11149 212 212 IF( iiTrim > jpi .OR. iiToce > jpi .OR. iiUoce > jpi .OR. iiUoce < 1 ) CYCLE 213 213 ! 214 zfla = pua2d(iiUoce,ij) - flagu * SQRT( grav * phur(ii, ij) ) * ( pssh(iiToce,ij) - sshdta(iiTrim,ij) )214 zfla = dta%u2d(jb) - flagu * SQRT( grav * phur(ii, ij) ) * ( pssh(iiToce,ij) - sshdta(iiTrim,ij) ) 215 215 ! 216 216 ! jchanut tschanges, use characteristics method (Blayo et Debreu, 2005) : 217 217 ! mix Flather scheme with velocity of the ocean next to the rim 218 pua2d(ii,ij) = z1_2 * ( dta%u2d(jb) + zfla )218 pua2d(ii,ij) = z1_2 * ( pua2d(iiUoce,ij) + zfla ) 219 219 END IF 220 220 END DO … … 235 235 IF( ijTrim > jpj .OR. ijToce > jpj .OR. ijVoce > jpj .OR. ijVoce < 1 ) CYCLE 236 236 ! 237 zfla = pva2d(ii,ijVoce) - flagv * SQRT( grav * phvr(ii, ij) ) * ( pssh(ii,ijToce) - sshdta(ii,ijTrim) )237 zfla = dta%v2d(jb) - flagv * SQRT( grav * phvr(ii, ij) ) * ( pssh(ii,ijToce) - sshdta(ii,ijTrim) ) 238 238 ! 239 239 ! jchanut tschanges, use characteristics method (Blayo et Debreu, 2005) : 240 240 ! mix Flather scheme with velocity of the ocean next to the rim 241 pva2d(ii,ij) = z1_2 * ( dta%v2d(jb) + zfla )241 pva2d(ii,ij) = z1_2 * ( pva2d(ii,ijVoce) + zfla ) 242 242 END IF 243 243 END DO
Note: See TracChangeset
for help on using the changeset viewer.