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 5067 for branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90 – NEMO

Ignore:
Timestamp:
2015-02-06T19:12:57+01:00 (9 years ago)
Author:
clem
Message:

LIM3 change all namelist names to fit with NEMO convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90

    r5055 r5067  
    112112      !!------------------------------------------------------------------ 
    113113 
    114       ! Discriminate between varying salinity (num_sal=2) and prescribed cases (other values) 
    115       SELECT CASE( num_sal )                       ! varying salinity or not 
     114      ! Discriminate between varying salinity (nn_icesal=2) and prescribed cases (other values) 
     115      SELECT CASE( nn_icesal )                       ! varying salinity or not 
    116116         CASE( 1, 3, 4 ) ;   zswitch_sal = 0       ! prescribed salinity profile 
    117117         CASE( 2 )       ;   zswitch_sal = 1       ! varying salinity profile 
     
    227227         !----------- 
    228228         ! thickness change 
    229          zcoeff = ( 1._wp - ( 1._wp - at_i_1d(ji) )**betas ) / at_i_1d(ji)  
     229         zcoeff = ( 1._wp - ( 1._wp - at_i_1d(ji) )**rn_betas ) / at_i_1d(ji)  
    230230         zdh_s_pre(ji) = zcoeff * sprecip_1d(ji) * rdt_ice / rhosn 
    231231         ! enthalpy of the precip (>0, J.m-3) (tatm_ice is now in K) 
     
    405405      ! -> need for an iterative procedure, which converges quickly 
    406406 
    407       IF ( num_sal == 2 ) THEN 
     407      IF ( nn_icesal == 2 ) THEN 
    408408         num_iter_max = 5 
    409409      ELSE 
     
    631631         ! entrapment during snow ice formation 
    632632         ! new salinity difference stored (to be used in limthd_ent.F90) 
    633          IF (  num_sal == 2  ) THEN 
     633         IF (  nn_icesal == 2  ) THEN 
    634634            rswitch = MAX( 0._wp , SIGN( 1._wp , ht_i_1d(ji) - epsi10 ) ) 
    635635            ! salinity dif due to snow-ice formation 
Note: See TracChangeset for help on using the changeset viewer.