Changeset 2920 for branches/2011/dev_r2787_MERCATOR3_tidalpot
- Timestamp:
- 2011-10-14T09:15:19+02:00 (13 years ago)
- Location:
- branches/2011/dev_r2787_MERCATOR3_tidalpot/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_r2787_MERCATOR3_tidalpot/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90
r2724 r2920 35 35 USE bdydyn ! unstructured open boundaries 36 36 USE bdytides ! tidal forcing at unstructured open boundaries. 37 USE tideini 38 USE updtide 37 39 USE lib_mpp ! distributed memory computing library 38 40 USE lbclnk ! ocean lateral boundary conditions (or mpp link) … … 371 373 IF( lk_obc ) CALL obc_dta_bt ( kt, jn ) 372 374 IF( lk_bdy ) CALL bdy_dta_fla( kt, jn+1, icycle ) 375 IF ((lk_tide).AND.(ln_tide_pot)) CALL upd_tide( kt, jn ) 373 376 374 377 ! !* after ssh_e … … 418 421 zu_spg = -grav * ( sshn_e(ji+1,jj) - sshn_e(ji,jj) ) / e1u(ji,jj) 419 422 zv_spg = -grav * ( sshn_e(ji,jj+1) - sshn_e(ji,jj) ) / e2v(ji,jj) 423 ENDIF 424 ! add tidal astronomical forcing 425 IF ( lk_tide ) THEN 426 zu_spg = zu_spg + grav * ( pot_astro(ji+1,jj) - pot_astro(ji,jj) ) / e1u(ji,jj) 427 zv_spg = zv_spg + grav * ( pot_astro(ji,jj+1) - pot_astro(ji,jj) ) / e2v(ji,jj) 420 428 ENDIF 421 429 ! energy conserving formulation for planetary vorticity term … … 447 455 zv_spg = -grav * ( sshn_e(ji,jj+1) - sshn_e(ji,jj) ) / e2v(ji,jj) 448 456 ENDIF 457 ! add tidal astronomical forcing 458 IF ( lk_tide ) THEN 459 zu_spg = zu_spg + grav * ( pot_astro(ji+1,jj) - pot_astro(ji,jj) ) / e1u(ji,jj) 460 zv_spg = zv_spg + grav * ( pot_astro(ji,jj+1) - pot_astro(ji,jj) ) / e2v(ji,jj) 461 ENDIF 449 462 ! enstrophy conserving formulation for planetary vorticity term 450 463 zy1 = z1_8 * ( zwy(ji ,jj-1) + zwy(ji+1,jj-1) + zwy(ji,jj) + zwy(ji+1,jj ) ) / e1u(ji,jj) … … 472 485 zu_spg = -grav * ( sshn_e(ji+1,jj) - sshn_e(ji,jj) ) / e1u(ji,jj) 473 486 zv_spg = -grav * ( sshn_e(ji,jj+1) - sshn_e(ji,jj) ) / e2v(ji,jj) 487 ENDIF 488 ! add tidal astronomical forcing 489 IF ( lk_tide ) THEN 490 zu_spg = zu_spg + grav * ( pot_astro(ji+1,jj) - pot_astro(ji,jj) ) / e1u(ji,jj) 491 zv_spg = zv_spg + grav * ( pot_astro(ji,jj+1) - pot_astro(ji,jj) ) / e2v(ji,jj) 474 492 ENDIF 475 493 ! energy/enstrophy conserving formulation for planetary vorticity term -
branches/2011/dev_r2787_MERCATOR3_tidalpot/NEMOGCM/NEMO/OPA_SRC/step.F90
r2715 r2920 97 97 IF( lk_dtasal ) CALL dta_sal( kstp ) ! update 3D salinity data 98 98 CALL sbc ( kstp ) ! Sea Boundary Condition (including sea-ice) 99 IF( lk_tide ) CALL tide_init( kstp ) 99 100 IF( lk_obc ) CALL obc_dta( kstp ) ! update dynamic and tracer data at open boundaries 100 101 IF( lk_obc ) CALL obc_rad( kstp ) ! compute phase velocities at open boundaries -
branches/2011/dev_r2787_MERCATOR3_tidalpot/NEMOGCM/NEMO/OPA_SRC/step_oce.F90
r2528 r2920 23 23 USE sbccpl ! surface boundary condition: coupled formulation (call send at end of step) 24 24 USE cpl_oasis3, ONLY : lk_cpl 25 USE tideini ! Tide initialisation 25 26 26 27 USE traqsr ! solar radiation penetration (tra_qsr routine)
Note: See TracChangeset
for help on using the changeset viewer.