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

Ignore:
Timestamp:
2017-07-15T17:27:14+02:00 (7 years ago)
Author:
clem
Message:

simplify the code

File:
1 edited

Legend:

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

    r8326 r8342  
    3737CONTAINS 
    3838 
    39    SUBROUTINE lim_thd_sal( kideb, kiut ) 
     39   SUBROUTINE lim_thd_sal 
    4040      !!------------------------------------------------------------------- 
    4141      !!                ***  ROUTINE lim_thd_sal  ***     
     
    4848      !!               -> nn_icesal = 3 -> Sice = S(z)   [multiyear ice] 
    4949      !!--------------------------------------------------------------------- 
    50       INTEGER, INTENT(in) ::   kideb, kiut   ! thickness category index 
    51       ! 
    5250      INTEGER  ::   ji, jk                       ! dummy loop indices  
    5351      REAL(wp) ::   iflush, igravdr              ! local scalars 
     
    6563      IF(  nn_icesal == 2  ) THEN 
    6664 
    67          DO ji = kideb, kiut 
     65         DO ji = 1, nidx 
    6866 
    6967            !--------------------------------------------------------- 
     
    9694 
    9795         ! Salinity profile 
    98          CALL lim_var_salprof1d( kideb, kiut ) 
     96         CALL lim_var_salprof1d 
    9997         ! 
    10098      ENDIF  
     
    103101      !  3) vertical profile of salinity, constant in time                           | 
    104102      !------------------------------------------------------------------------------| 
    105       IF(  nn_icesal == 3  )   CALL lim_var_salprof1d( kideb, kiut ) 
     103      IF(  nn_icesal == 3  )   CALL lim_var_salprof1d 
    106104 
    107105      ! 
Note: See TracChangeset for help on using the changeset viewer.