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

Ignore:
Timestamp:
2017-09-18T16:54:04+02:00 (7 years ago)
Author:
clem
Message:

changes in style - part6 - pure cosmetics

File:
1 edited

Legend:

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

    r8531 r8534  
    88#if defined key_lim3 
    99   !!---------------------------------------------------------------------- 
    10    !!   'key_lim3' :                                  LIM 3.0 sea-ice model 
     10   !!   'key_lim3' :                                     ESIM sea-ice model 
    1111   !!---------------------------------------------------------------------- 
    1212   USE oce            ! ocean dynamics and tracers 
    1313   USE dom_oce        ! ocean space and time domain 
    14    USE ice            ! sea-ice variables 
     14   USE ice            ! sea-ice: variables 
    1515   USE sbc_oce        ! Surface boundary condition: ocean fields 
    1616   USE sbc_ice        ! Surface boundary condition: ice   fields 
    17    USE usrdef_sbc     ! user defined: surface boundary condition 
     17   USE usrdef_sbc     ! Surface boundary condition: user defined 
    1818   USE sbcblk         ! Surface boundary condition: bulk 
    1919   USE sbccpl         ! Surface boundary condition: coupled interface 
    20    USE icealb         ! ice albedo 
     20   USE icealb         ! sae-ice: albedo 
    2121   ! 
     22   USE in_out_manager ! I/O manager 
    2223   USE iom            ! I/O manager library 
    23    USE in_out_manager ! I/O manager 
    24    USE lbclnk         ! lateral boundary condition - MPP link 
    2524   USE lib_mpp        ! MPP library 
    26    USE lib_fortran    ! 
     25   USE lib_fortran    ! fortran utilities (glob_sum + no signed zero) 
     26   USE lbclnk         ! lateral boundary conditions (or mpp links) 
    2727   USE timing         ! Timing 
    2828 
     
    4444 
    4545   SUBROUTINE ice_forcing_tau( kt, ksbc, utau_ice, vtau_ice ) 
    46       !!--------------------------------------------------------------------- 
     46      !!------------------------------------------------------------------- 
    4747      !!                  ***  ROUTINE ice_forcing_tau  *** 
    4848      !! 
     
    5151      !! ** Action  : It provides the following fields: 
    5252      !!              utau_ice, vtau_ice : surface ice stress (U- & V-points) [N/m2] 
    53       !!--------------------------------------------------------------------- 
     53      !!------------------------------------------------------------------- 
    5454      INTEGER, INTENT(in) ::   kt      ! ocean time step 
    5555      INTEGER, INTENT(in) ::   ksbc    ! type of sbc flux ( 1 = user defined formulation,  
     
    6060      INTEGER  ::   ji, jj                 ! dummy loop index 
    6161      REAL(wp), DIMENSION(jpi,jpj) ::   zutau_ice, zvtau_ice  
    62       !!---------------------------------------------------------------------- 
    63  
    64       IF( nn_timing == 1 )   CALL timing_start('ice_forcing_tau') 
     62      !!------------------------------------------------------------------- 
     63 
     64      IF( nn_timing == 1 )   CALL timing_start('ice_forcing') 
    6565 
    6666      IF( kt == nit000 .AND. lwp ) THEN 
     
    8787      ENDIF 
    8888 
    89       IF( nn_timing == 1 )   CALL timing_stop('ice_forcing_tau') 
     89      IF( nn_timing == 1 )   CALL timing_stop('ice_forcing') 
    9090      ! 
    9191   END SUBROUTINE ice_forcing_tau 
     
    9393    
    9494   SUBROUTINE ice_forcing_flx( kt, ksbc ) 
    95       !!--------------------------------------------------------------------- 
     95      !!------------------------------------------------------------------- 
    9696      !!                  ***  ROUTINE ice_forcing_flx  *** 
    9797      !! 
     
    112112      !!                tprecip                                  = total  precipitation                          [Kg/m2/s] 
    113113      !!                alb_ice                                  = albedo above sea ice 
    114       !!--------------------------------------------------------------------- 
     114      !!------------------------------------------------------------------- 
    115115      INTEGER, INTENT(in) ::   kt     ! ocean time step 
    116116      INTEGER, INTENT(in) ::   ksbc   ! flux formulation (user defined, bulk or Pure Coupled) 
     
    119119      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   zalb_os, zalb_cs  ! ice albedo under overcast/clear sky 
    120120      REAL(wp), DIMENSION(jpi,jpj)     ::   zalb              ! 2D workspace 
    121       !!---------------------------------------------------------------------- 
    122       ! 
    123       IF( nn_timing == 1 )   CALL timing_start('ice_forcing_flx') 
     121      !!-------------------------------------------------------------------- 
     122      ! 
     123      IF( nn_timing == 1 )   CALL timing_start('ice_forcing') 
    124124 
    125125      IF( kt == nit000 .AND. lwp ) THEN 
     
    164164      ENDIF 
    165165      ! 
    166       IF( nn_timing == 1 )   CALL timing_stop('ice_forcing_flx') 
     166      IF( nn_timing == 1 )   CALL timing_stop('ice_forcing') 
    167167      ! 
    168168   END SUBROUTINE ice_forcing_flx 
     
    170170 
    171171   SUBROUTINE ice_flx_dist( ptn_ice, palb_ice, pqns_ice, pqsr_ice, pdqn_ice, pevap_ice, pdevap_ice, k_iceflx ) 
    172       !!--------------------------------------------------------------------- 
     172      !!------------------------------------------------------------------- 
    173173      !!                  ***  ROUTINE ice_flx_dist  *** 
    174174      !! 
     
    184184      !!                                                 using T-ice and albedo sensitivity 
    185185      !!                =  2  Redistribute a single flux over categories 
    186       !!--------------------------------------------------------------------- 
     186      !!------------------------------------------------------------------- 
    187187      INTEGER                   , INTENT(in   ) ::   k_iceflx   ! redistributor 
    188188      REAL(wp), DIMENSION(:,:,:), INTENT(in   ) ::   ptn_ice    ! ice surface temperature 
     
    206206      REAL(wp), ALLOCATABLE, DIMENSION(:,:) ::   ztem_m    ! Mean temperature over all categories 
    207207      !!---------------------------------------------------------------------- 
    208       ! 
    209       IF( nn_timing == 1 )  CALL timing_start('ice_flx_dist') 
    210208      ! 
    211209      WHERE ( at_i (:,:) > 0._wp )   ; z1_at_i(:,:) = 1._wp / at_i (:,:) 
     
    253251         ! 
    254252      END SELECT 
    255       ! 
    256       IF( nn_timing == 1 )  CALL timing_stop('ice_flx_dist') 
    257253      ! 
    258254   END SUBROUTINE ice_flx_dist 
     
    315311#else 
    316312   !!---------------------------------------------------------------------- 
    317    !!   Default option :         Empty module          NO LIM sea-ice model 
     313   !!   Default option :         Empty module         NO ESIM sea-ice model 
    318314   !!---------------------------------------------------------------------- 
    319315#endif 
Note: See TracChangeset for help on using the changeset viewer.