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 11467 for NEMO/branches/UKMO/dev_r10037_GPU/src/ICE/icethd_dh.F90 – NEMO

Ignore:
Timestamp:
2019-08-22T11:49:08+02:00 (5 years ago)
Author:
andmirek
Message:

Ticket #2197 allocate arrays at the beggining of the run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/dev_r10037_GPU/src/ICE/icethd_dh.F90

    r10843 r11467  
    6565      !!              Vancoppenolle et al.,2009, Ocean Modelling 
    6666      !!------------------------------------------------------------------ 
     67      USE scice, ONLY : zqprec     => scr1D1i,  & ! energy of fallen snow                       (J.m-3) 
     68                       zq_top     => scr1D2i,  & ! heat for surface ablation                   (J.m-2) 
     69                       zq_bot     => scr1D3i,  & ! heat for bottom ablation                    (J.m-2) 
     70                       zq_rema    => scr1D4i,  & ! remaining heat at the end of the routine    (J.m-2) 
     71                       zf_tt      => scr1D5i,  & ! Heat budget to determine melting or freezing(W.m-2) 
     72                       zevap_rema => scr1D6i,  & ! remaining mass flux from sublimation        (kg.m-2) 
     73                       zdh_s_mel  => scr1D7i,  & ! snow melt  
     74                       zdh_s_pre  => scr1D8i,  & ! snow precipitation  
     75                       zdh_s_sub  => scr1D9i,  & ! snow sublimation 
     76                       zsnw       => scr1D10i     ! distribution of snow after wind blowing 
     77  
     78 
    6779      INTEGER  ::   ji, jk       ! dummy loop indices 
    6880      INTEGER  ::   iter         ! local integer 
     
    8496      REAL(wp) ::   zfmdt        ! exchange mass flux x time step (J/m2), >0 towards the ocean 
    8597 
    86       REAL(wp), DIMENSION(jpij) ::   zqprec      ! energy of fallen snow                       (J.m-3) 
    87       REAL(wp), DIMENSION(jpij) ::   zq_top      ! heat for surface ablation                   (J.m-2) 
    88       REAL(wp), DIMENSION(jpij) ::   zq_bot      ! heat for bottom ablation                    (J.m-2) 
    89       REAL(wp), DIMENSION(jpij) ::   zq_rema     ! remaining heat at the end of the routine    (J.m-2) 
    90       REAL(wp), DIMENSION(jpij) ::   zf_tt       ! Heat budget to determine melting or freezing(W.m-2) 
    91       REAL(wp), DIMENSION(jpij) ::   zevap_rema  ! remaining mass flux from sublimation        (kg.m-2) 
    92  
    93       REAL(wp), DIMENSION(jpij) ::   zdh_s_mel   ! snow melt  
    94       REAL(wp), DIMENSION(jpij) ::   zdh_s_pre   ! snow precipitation  
    95       REAL(wp), DIMENSION(jpij) ::   zdh_s_sub   ! snow sublimation 
    96  
    9798      REAL(wp), DIMENSION(jpij,nlay_s) ::   zh_s      ! snw layer thickness 
    9899      REAL(wp), DIMENSION(jpij,nlay_i) ::   zh_i      ! ice layer thickness 
    99100      REAL(wp), DIMENSION(jpij,nlay_i) ::   zdeltah 
    100101      INTEGER , DIMENSION(jpij,nlay_i) ::   icount    ! number of layers vanished by melting  
    101  
    102       REAL(wp), DIMENSION(jpij) ::   zsnw        ! distribution of snow after wind blowing 
    103102 
    104103      REAL(wp) ::   zswitch_sal 
Note: See TracChangeset for help on using the changeset viewer.