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 8500 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icevar.F90 – NEMO

Ignore:
Timestamp:
2017-09-06T12:01:34+02:00 (7 years ago)
Author:
clem
Message:

changes in style - part3 - move output into proper files and correct a bug in debug mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icevar.F90

    r8498 r8500  
    116116         ! 
    117117         ALLOCATE( z1_at_i(jpi,jpj) , z1_vt_i(jpi,jpj) ) 
    118          WHERE( at_i(:,:) > epsi10 )   ;   z1_at_i(:,:) = 1._wp / at_i(:,:) 
     118         WHERE( at_i(:,:) > epsi20 )   ;   z1_at_i(:,:) = 1._wp / at_i(:,:) 
    119119         ELSEWHERE                     ;   z1_at_i(:,:) = 0._wp 
    120120         END WHERE 
    121          WHERE( vt_i(:,:) > epsi10 )   ;   z1_vt_i(:,:) = 1._wp / vt_i(:,:) 
     121         WHERE( vt_i(:,:) > epsi20 )   ;   z1_vt_i(:,:) = 1._wp / vt_i(:,:) 
    122122         ELSEWHERE                     ;   z1_vt_i(:,:) = 0._wp 
    123123         END WHERE 
     
    163163      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   z1_a_i, z1_v_i 
    164164      !!------------------------------------------------------------------ 
    165  
    166 !!gm Question 1:  here use epsi20 , in ice_var_agg it is epsi10 which is used...  why ?? 
    167165 
    168166!!gm Question 2:  It is possible to define existence of sea-ice in a common way between  
     
    549547      ! to be sure that at_i is the sum of a_i(jl) 
    550548      at_i (:,:) = a_i(:,:,1) 
    551      vt_i (:,:) = v_i(:,:,1) 
     549      vt_i (:,:) = v_i(:,:,1) 
    552550      DO jl = 2, jpl 
    553551         at_i(:,:) = at_i(:,:) + a_i(:,:,jl) 
    554         vt_i(:,:) = vt_i(:,:) + v_i(:,:,jl) 
     552         vt_i(:,:) = vt_i(:,:) + v_i(:,:,jl) 
    555553      END DO 
    556554 
Note: See TracChangeset for help on using the changeset viewer.