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

Ignore:
Timestamp:
2017-09-13T18:46:56+02:00 (7 years ago)
Author:
clem
Message:

changes in style - part6 - commits of the day

File:
1 edited

Legend:

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

    r8517 r8518  
    206206                                    CALL ice_wri( 1 )         ! -- Ice outputs  
    207207         ! 
    208          IF( kt == nit000 .AND. ln_rstart )   &                !!gm  I don't understand the ln_rstart, if needed, add a comment, please 
    209             &                       CALL iom_close( numrir )  ! close input ice restart file 
    210208         ! 
    211209         IF( lrst_ice )             CALL ice_rst_write( kt )  ! -- Ice restart file  
     
    251249      ierr = ierr + sbc_ice_alloc    ()      ! surface forcing  
    252250      ierr = ierr + ice1D_alloc      ()      ! thermodynamics 
    253       ierr = ierr + ice_rdgrft_alloc ()      ! ridging/rafting 
    254251      ! 
    255252      IF( lk_mpp    )   CALL mpp_sum( ierr ) 
     
    258255      CALL ice_itd_init                ! ice thickness distribution initialization 
    259256      ! 
    260       IF( ln_icedyn )   THEN 
    261          CALL ice_dyn_init             ! set ice dynamics parameters 
    262          CALL ice_rdgrft_init          ! set ice ridging/rafting parameters 
    263          CALL ice_rhg_init             ! set ice rheology parameters 
    264          CALL ice_adv_init             ! set ice advection parameters 
    265       ENDIF 
    266  
    267       IF( ln_icethd ) THEN 
    268          CALL ice_thd_init             ! set ice thermodynics parameters 
    269          CALL ice_thd_sal_init         ! set ice salinity parameters 
    270       ENDIF 
    271     
    272257      ! MV MP 2016 
    273       CALL lim_mp_init                 ! set melt ponds parameters 
     258      CALL lim_mp_init                 ! set melt ponds parameters (clem: important to be located here) 
    274259      ! END MV MP 2016 
    275260      !                                ! Initial sea-ice state 
     
    283268      CALL ice_var_glo2eqv 
    284269      ! 
     270      IF( ln_icedyn ) THEN 
     271         CALL ice_dyn_init             ! set ice dynamics parameters 
     272         CALL ice_rdgrft_init          ! set ice ridging/rafting parameters 
     273         CALL ice_rhg_init             ! set ice rheology parameters 
     274         CALL ice_adv_init             ! set ice advection parameters 
     275      ENDIF 
     276 
     277      IF( ln_icethd ) THEN 
     278         CALL ice_thd_init             ! set ice thermodynics parameters 
     279         CALL ice_thd_sal_init         ! set ice salinity parameters 
     280      ENDIF    
     281      ! 
    285282      CALL ice_update_init             ! ice surface boundary condition 
    286283      ! 
     
    296293      ELSEWHERE                     ;   rn_amax_2d(:,:) = rn_amax_s  ! SH 
    297294      END WHERE 
     295 
     296      IF( ln_rstart )   CALL iom_close( numrir )  ! close input ice restart file 
    298297      ! 
    299298   END SUBROUTINE ice_init 
     
    429428      hfx_res(:,:) = 0._wp   ;   hfx_sub(:,:) = 0._wp 
    430429      hfx_spr(:,:) = 0._wp   ;   hfx_dif(:,:) = 0._wp 
    431       hfx_err(:,:) = 0._wp   ;   hfx_err_rem(:,:) = 0._wp 
     430      hfx_err_rem(:,:) = 0._wp 
    432431      hfx_err_dif(:,:) = 0._wp 
    433432      wfx_err_sub(:,:) = 0._wp 
Note: See TracChangeset for help on using the changeset viewer.