New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11180 for NEMO/branches/UKMO/NEMO_4.0_surge/src/OCE/ZDF/zdfphy.F90 – NEMO

Ignore:
Timestamp:
2019-06-25T18:50:27+02:00 (5 years ago)
Author:
clne
Message:

Initial commit of code for 2d (surge) work in NEMO4.
This is aiming to replicate the 3.6 version in branches/UKMO/dev_r5518_Surge_Modelling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_surge/src/OCE/ZDF/zdfphy.F90

    r11081 r11180  
    8484      !!---------------------------------------------------------------------- 
    8585      ! 
     86      IF( .NOT. ln_2d ) THEN 
     87 
    8688      IF(lwp) THEN 
    8789         WRITE(numout,*) 
     
    209211      IF( ln_zdfswm )   CALL zdf_swm_init       ! surface  wave-driven mixing 
    210212 
     213      ENDIF  ! .NOT. ln_2d 
     214 
    211215      !                          !== top/bottom friction  ==! 
    212216      CALL zdf_drg_init 
     
    251255         ENDIF 
    252256      ENDIF 
     257       
     258      IF( .NOT. ln_2d ) THEN ! 2D case only uses bottom friction from this routine      
    253259      ! 
    254260      !                       !==  Kz from chosen turbulent closure  ==!   (avm_k, avt_k) 
     
    321327         ! NB. OSMOSIS restart (osm_rst) will be called in step.F90 after wn has been updated 
    322328      ENDIF 
     329       
     330      ENDIF  ! .NOT. ln_2d 
    323331      ! 
    324332      IF( ln_timing )   CALL timing_stop('zdf_phy') 
Note: See TracChangeset for help on using the changeset viewer.