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 10906 for NEMO/releases/release-4.0/src/OCE/ZDF/zdfphy.F90 – NEMO

Ignore:
Timestamp:
2019-04-29T17:36:57+02:00 (5 years ago)
Author:
clem
Message:

solve ticket #2275. Repro was just a matter of lbc (for Cu_adv) and an extended loop (for wi). Restartability was tricky (one needed to change r2dt by 2*rdt)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/release-4.0/src/OCE/ZDF/zdfphy.F90

    r10425 r10906  
    132132      IF( ln_zad_Aimp ) THEN 
    133133         IF( zdf_phy_alloc() /= 0 )   & 
    134         &       CALL ctl_stop( 'STOP', 'zdf_phy_init : unable to allocate adaptive-implicit z-advection arrays' ) 
    135          wi(:,:,:) = 0._wp 
     134            &       CALL ctl_stop( 'STOP', 'zdf_phy_init : unable to allocate adaptive-implicit z-advection arrays' ) 
     135         Cu_adv(:,:,:) = 0._wp 
     136         wi    (:,:,:) = 0._wp 
    136137      ENDIF 
    137138      !                          !==  Background eddy viscosity and diffusivity  ==! 
Note: See TracChangeset for help on using the changeset viewer.