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 9410 – NEMO

Changeset 9410


Ignore:
Timestamp:
2018-03-16T19:58:41+01:00 (7 years ago)
Author:
clem
Message:

avoid crash when -O0 optimization and ln_icediachk activated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/LIM_SRC_3/icestp.F90

    r8933 r9410  
    416416      diag_fc_bo(:,:) = 0._wp ; diag_fc_su(:,:) = 0._wp 
    417417 
     418      ! for control checks 
     419      diag_trp_vi(:,:) = 0._wp 
     420      diag_trp_vs(:,:) = 0._wp 
     421      diag_trp_ei(:,:) = 0._wp 
     422      diag_trp_es(:,:) = 0._wp 
     423      diag_trp_sv(:,:) = 0._wp 
     424 
    418425      tau_icebfr(:,:)   = 0._wp   ! landfast ice param only (clem: important to keep the init here) 
    419426      cnd_ice   (:,:,:) = 0._wp   ! initialisation of the effective conductivity at the top of ice/snow (Jules coupling) 
Note: See TracChangeset for help on using the changeset viewer.