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

Ignore:
Timestamp:
2017-09-25T21:11:19+02:00 (7 years ago)
Author:
clem
Message:

cosmetics only

File:
1 edited

Legend:

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

    r8534 r8562  
    128128         !    utau_ice, vtau_ice = surface ice stress [N/m2] 
    129129         !------------------------------------------------! 
    130          CALL ice_forcing_tau( kt, ksbc, utau_ice, vtau_ice ) 
    131                                        
     130                                        CALL ice_forcing_tau( kt, ksbc, utau_ice, vtau_ice )           
    132131         !-------------------------------------! 
    133132         ! --- ice dynamics and advection  --- ! 
     
    136135         CALL ice_rst_opn( kt )     ! Open Ice restart file (if necessary)  
    137136         ! 
    138          IF( ln_icedyn .AND. .NOT.lk_c1d )   CALL ice_dyn( kt )            ! -- Ice dynamics 
     137         IF( ln_icedyn .AND. .NOT.lk_c1d )   & 
     138            &                           CALL ice_dyn( kt )            ! -- Ice dynamics 
    139139         ! 
    140140         !                          !==  lateral boundary conditions  ==! 
    141141#if defined key_agrif 
    142          IF( .NOT. Agrif_Root()     )        CALL agrif_interp_lim3('T')   ! -- AGRIF  
     142         IF( .NOT. Agrif_Root()     )   CALL agrif_interp_lim3('T')   ! -- AGRIF  
    143143#endif 
    144          IF( ln_icethd .AND. ln_bdy )        CALL bdy_ice( kt )            ! -- bdy ice thermo 
     144         IF( ln_icethd .AND. ln_bdy )   CALL bdy_ice( kt )            ! -- bdy ice thermo 
    145145         ! 
    146146         ! 
    147147         !                          !==  previous lead fraction and ice volume for flux calculations 
    148          ! 
    149148         CALL ice_var_glo2eqv            ! ht_i and ht_s for ice albedo calculation 
    150149         CALL ice_var_agg(1)             ! at_i for coupling  
     
    165164         !    qprec_ice, qevap_ice 
    166165         !------------------------------------------------------! 
    167                                     CALL ice_forcing_flx( kt, ksbc ) 
    168  
     166                                        CALL ice_forcing_flx( kt, ksbc ) 
    169167         !----------------------------! 
    170168         ! --- ice thermodynamics --- ! 
    171169         !----------------------------! 
    172          IF( ln_icethd )            CALL ice_thd( kt )          ! -- Ice thermodynamics       
    173  
    174          ! MV MP 2016 
    175          IF ( ln_pnd )              CALL lim_mp( kt )           ! -- Melt ponds 
    176          ! END MV MP 2016 
    177  
    178          IF( ln_icethd )            CALL ice_cor( kt , 2 )      ! -- Corrections 
    179          ! --- 
     170         IF( ln_icethd )                CALL ice_thd( kt )            ! -- Ice thermodynamics       
     171         ! 
     172         IF ( ln_pnd )                  CALL lim_mp( kt )             ! -- Melt ponds 
     173         ! 
     174         IF( ln_icethd )                CALL ice_cor( kt , 2 )        ! -- Corrections 
    180175# if defined key_agrif 
    181          IF( .NOT. Agrif_Root() )   CALL agrif_update_lim3( kt ) 
     176         IF( .NOT. Agrif_Root() )       CALL agrif_update_lim3( kt ) 
    182177# endif 
    183                                     CALL ice_var_glo2eqv        ! necessary calls (at least for coupling) 
    184                                     CALL ice_var_agg( 2 )       ! necessary calls (at least for coupling) 
    185                                     ! 
     178         CALL ice_var_glo2eqv        ! necessary calls (at least for coupling) 
     179         CALL ice_var_agg( 2 )       ! necessary calls (at least for coupling) 
     180                                     ! 
    186181!! clem: one should switch the calculation of the fluxes onto the parent grid but the following calls do not work 
    187182!!       moreover it should only be called at the update frequency (as in agrif_lim3_update.F90) 
    188183!!# if defined key_agrif 
    189 !!         IF( .NOT. Agrif_Root() )   CALL Agrif_ChildGrid_To_ParentGrid() 
     184!!         IF( .NOT. Agrif_Root() )     CALL Agrif_ChildGrid_To_ParentGrid() 
    190185!!# endif 
    191                                     CALL ice_update_flx( kt )   ! -- Update ocean surface mass, heat and salt fluxes 
     186                                        CALL ice_update_flx( kt )     ! -- Update ocean surface mass, heat and salt fluxes 
    192187!!# if defined key_agrif 
    193 !!         IF( .NOT. Agrif_Root() )   CALL Agrif_ParentGrid_To_ChildGrid() 
     188!!         IF( .NOT. Agrif_Root() )     CALL Agrif_ParentGrid_To_ChildGrid() 
    194189!!# endif 
    195          IF( ln_icediahsb )         CALL ice_dia( kt )          ! -- Diagnostics and outputs  
    196          ! 
    197                                     CALL ice_wri( 1 )           ! -- Ice outputs  
    198          ! 
    199          ! 
    200          IF( lrst_ice )             CALL ice_rst_write( kt )    ! -- Ice restart file  
    201          ! 
    202          IF( ln_icectl )            CALL ice_ctl( kt )          ! -- alerts in case of model crash 
     190         IF( ln_icediahsb )             CALL ice_dia( kt )            ! -- Diagnostics outputs  
     191         ! 
     192                                        CALL ice_wri( kt )            ! -- Ice outputs  
     193         ! 
     194         IF( lrst_ice )                 CALL ice_rst_write( kt )      ! -- Ice restart file  
     195         ! 
     196         IF( ln_icectl )                CALL ice_ctl( kt )            ! -- alerts in case of model crash 
    203197         ! 
    204198      ENDIF   ! End sea-ice time step only 
     
    207201      ! --- Ocean time step --- ! 
    208202      !-------------------------! 
    209       ! Update surface ocean stresses (only in ice-dynamic case) otherwise the atm.-ocean stresses are used everywhere 
    210       !    using before instantaneous surf. currents 
    211       IF( ln_icedyn )               CALL ice_update_tau( kt, ub(:,:,1), vb(:,:,1) ) 
     203      IF( ln_icedyn )                   CALL ice_update_tau( kt, ub(:,:,1), vb(:,:,1) )   ! -- update surface ocean stresses 
    212204!!gm   remark, the ocean-ice stress is not saved in ice diag call above .....  find a solution!!! 
    213205      ! 
    214       IF( nn_timing == 1 ) CALL timing_stop('ice_stp') 
     206      IF( nn_timing == 1 )   CALL timing_stop('ice_stp') 
    215207      ! 
    216208   END SUBROUTINE ice_stp 
     
    246238      CALL ice_itd_init                ! ice thickness distribution initialization 
    247239      ! 
    248       ! MV MP 2016 
    249240      CALL lim_mp_init                 ! set melt ponds parameters (clem: important to be located here) 
    250       ! END MV MP 2016 
     241      ! 
    251242      !                                ! Initial sea-ice state 
    252243      IF( .NOT. ln_rstart ) THEN              ! start from rest: sea-ice deduced from sst 
Note: See TracChangeset for help on using the changeset viewer.