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

Ignore:
Timestamp:
2017-09-01T15:49:35+02:00 (7 years ago)
Author:
clem
Message:

changes in style - part1 - (now the code looks better txs to Gurvan's comments)

File:
1 edited

Legend:

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

    r8422 r8486  
    44   !! LIM-3 sea-ice :  computation of lateral melting in the ice 
    55   !!====================================================================== 
    6    !! History :   4.0   ! 2016-03 (C. Rousset) original code 
     6   !! History :  4.0  ! 2016-03 (C. Rousset) original code 
    77   !!--------------------------------------------------------------------- 
    88#if defined key_lim3 
     
    1010   !!   'key_lim3'                                      LIM-3 sea-ice model 
    1111   !!---------------------------------------------------------------------- 
    12    !!   ice_thd_da   : sea ice lateral melting 
     12   !!   ice_thd_da    : sea ice lateral melting 
    1313   !!---------------------------------------------------------------------- 
    1414   USE par_oce        ! ocean parameters 
    1515   USE phycst         ! physical constants (ocean directory) 
    16    USE ice            ! LIM variables 
    17    USE ice1D          ! thermodynamic sea-ice variables 
     16   USE ice            ! sea-ice: variables 
     17   USE ice1D          ! sea-ice: thermodynamic 1D variables 
    1818   ! 
    1919   USE lib_mpp        ! MPP library 
     
    2323   PRIVATE 
    2424 
    25    PUBLIC   ice_thd_da        ! called by icethd module 
     25   PUBLIC   ice_thd_da   ! called by icethd.F90 
    2626 
    2727   !!---------------------------------------------------------------------- 
    28    !! NEMO/LIM3 4.0 , UCL - NEMO Consortium (2011) 
     28   !! NEMO/ICE 4.0 , NEMO Consortium (2017) 
    2929   !! $Id: icethd_da.F90 5123 2015-03-04 16:06:03Z clem $ 
    3030   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    3232CONTAINS 
    3333 
     34!!gm  even comment line of more than 130 character may cause compilation errors 
     35!!gm         ===>>> reformat the text 
    3436   SUBROUTINE ice_thd_da 
    3537      !!------------------------------------------------------------------- 
     
    106108      REAL(wp), DIMENSION(jpij) ::   zda_tot 
    107109      !!--------------------------------------------------------------------- 
    108  
    109       !------------------------------------------------------------! 
    110       !------------------------------------------------------------! 
     110      ! 
    111111      zastar = 1._wp / ( 1._wp - (rn_dmin / zdmax)**(1._wp/rn_beta) ) 
    112112      DO ji = 1, nidx    
     
    136136            ! new concentration 
    137137            a_i_1d(ji) = a_i_1d(ji) - zda 
    138              
     138 
    139139            ! ensure that ht_i = 0 where a_i = 0 
    140140            IF( a_i_1d(ji) == 0._wp ) THEN 
     
    151151   !!   Default option         Dummy Module          No LIM-3 sea-ice model 
    152152   !!---------------------------------------------------------------------- 
    153 CONTAINS 
    154    SUBROUTINE ice_thd_da          ! Empty routine 
    155    END SUBROUTINE ice_thd_da 
    156153#endif 
     154 
    157155   !!====================================================================== 
    158156END MODULE icethd_da 
Note: See TracChangeset for help on using the changeset viewer.