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

Changeset 842


Ignore:
Timestamp:
2008-03-12T13:07:25+01:00 (16 years ago)
Author:
ctlod
Message:

Correct lines which do not compile on IBM

Location:
trunk/NEMO/LIM_SRC_3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limthd_dh.F90

    r834 r842  
    790790 
    791791         ! entrapment during snow ice formation 
    792          i_ice_switch = 1.0 - MAX ( 0.0 , SIGN ( 1.0 , - ht_i_b(ji) + 1.0d-6 ) ) 
     792         i_ice_switch = 1.0 - MAX ( 0.0 , SIGN ( 1.0 , - ht_i_b(ji) + 1.0e-6 ) ) 
    793793         isnowic      = 1.0 - MAX ( 0.0 , SIGN ( 1.0 , - dh_snowice(ji) ) ) * & 
    794794                        i_ice_switch 
  • trunk/NEMO/LIM_SRC_3/limthd_dif.F90

    r834 r842  
    439439       END DO 
    440440 
    441        DO layer = 1, nlay_s-1 
     441       DO layer = 1, nlay_s-1, -1 
    442442          DO ji = kideb , kiut 
    443443             zkappa_s(ji,layer)  = 2.0 * rcdsn / & 
     
    558558! 
    559559                !!snow interior terms (bottom equation has the same form as the others) 
    560                 DO numeq = 3, nlay_s + 1 
     560                DO numeq = 3, nlay_s + 1, -1 
    561561                   layer =  numeq - 1 
    562562                   ztrid(ji,numeq,1)   =  - zeta_s(ji,layer)*zkappa_s(ji,layer-1) 
  • trunk/NEMO/LIM_SRC_3/limthd_sal.F90

    r834 r842  
    172172            iaccrbo      =  MAX( 0.0 , SIGN ( 1.0 , dh_i_bott(ji) ) ) 
    173173            ! isnowic : 1 if snow ice formation 
    174             i_ice_switch = 1.0 - MAX ( 0.0 , SIGN ( 1.0 , - ht_i_b(ji) + 1.0d-2 ) ) 
     174            i_ice_switch = 1.0 - MAX ( 0.0 , SIGN ( 1.0 , - ht_i_b(ji) + 1.0e-2 ) ) 
    175175            isnowic      = 1.0 - MAX ( 0.0 , SIGN ( 1.0 , - dh_snowice(ji) ) ) * & 
    176176                           i_ice_switch 
Note: See TracChangeset for help on using the changeset viewer.