- Timestamp:
- 2015-02-06T19:12:57+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/LIM_SRC_3/limthd_dh.F90
r5055 r5067 112 112 !!------------------------------------------------------------------ 113 113 114 ! Discriminate between varying salinity (n um_sal=2) and prescribed cases (other values)115 SELECT CASE( n um_sal ) ! varying salinity or not114 ! Discriminate between varying salinity (nn_icesal=2) and prescribed cases (other values) 115 SELECT CASE( nn_icesal ) ! varying salinity or not 116 116 CASE( 1, 3, 4 ) ; zswitch_sal = 0 ! prescribed salinity profile 117 117 CASE( 2 ) ; zswitch_sal = 1 ! varying salinity profile … … 227 227 !----------- 228 228 ! 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) 230 230 zdh_s_pre(ji) = zcoeff * sprecip_1d(ji) * rdt_ice / rhosn 231 231 ! enthalpy of the precip (>0, J.m-3) (tatm_ice is now in K) … … 405 405 ! -> need for an iterative procedure, which converges quickly 406 406 407 IF ( n um_sal == 2 ) THEN407 IF ( nn_icesal == 2 ) THEN 408 408 num_iter_max = 5 409 409 ELSE … … 631 631 ! entrapment during snow ice formation 632 632 ! new salinity difference stored (to be used in limthd_ent.F90) 633 IF ( n um_sal == 2 ) THEN633 IF ( nn_icesal == 2 ) THEN 634 634 rswitch = MAX( 0._wp , SIGN( 1._wp , ht_i_1d(ji) - epsi10 ) ) 635 635 ! salinity dif due to snow-ice formation
Note: See TracChangeset
for help on using the changeset viewer.