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 12928 for NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/src/OCE/ICB/icbini.F90 – NEMO

Ignore:
Timestamp:
2020-05-14T21:46:00+02:00 (4 years ago)
Author:
smueller
Message:

Synchronizing with /NEMO/trunk@12925 (ticket #2170)

Location:
NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser

    • Property svn:externals
      •  

        old new  
        66^/vendors/FCM@HEAD            ext/FCM 
        77^/vendors/IOIPSL@HEAD         ext/IOIPSL 
         8 
         9# SETTE 
         10^/utils/CI/sette@HEAD         sette 
  • NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser/src/OCE/ICB/icbini.F90

    r12178 r12928  
    3939   TYPE(FLD), PUBLIC, ALLOCATABLE     , DIMENSION(:)  ::   sf_icb          !: structure: file information, fields read 
    4040                                                                           !: used in icbini and icbstp 
     41   !! * Substitutions 
     42#  include "do_loop_substitute.h90" 
    4143   !!---------------------------------------------------------------------- 
    4244   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    5860      !!              - setup either test icebergs or calving file 
    5961      !!---------------------------------------------------------------------- 
    60       REAL(wp), INTENT(in) ::   pdt   ! iceberg time-step (rdt*nn_fsbc) 
     62      REAL(wp), INTENT(in) ::   pdt   ! iceberg time-step (rn_Dt*nn_fsbc) 
    6163      INTEGER , INTENT(in) ::   kt    ! time step number 
    6264      ! 
     
    121123      nicbfldproc(:) = -1 
    122124 
    123       DO jj = 1, jpj 
    124          DO ji = 1, jpi 
    125             src_calving_hflx(ji,jj) = narea 
    126             src_calving     (ji,jj) = nicbpack * mjg(jj) + mig(ji) 
    127          END DO 
    128       END DO 
     125      DO_2D_11_11 
     126         src_calving_hflx(ji,jj) = narea 
     127         src_calving     (ji,jj) = nicbpack * mjg(jj) + mig(ji) 
     128      END_2D 
    129129      CALL lbc_lnk( 'icbini', src_calving_hflx, 'T', 1._wp ) 
    130130      CALL lbc_lnk( 'icbini', src_calving     , 'T', 1._wp ) 
     
    383383         &              rn_bits_erosion_fraction        , rn_sicn_shift       , ln_passive_mode      ,   & 
    384384         &              ln_time_average_weight          , nn_test_icebergs    , rn_test_box          ,   & 
    385          &              ln_use_calving , rn_speed_limit , cn_dir, sn_icb 
     385         &              ln_use_calving , rn_speed_limit , cn_dir, sn_icb      ,                          & 
     386         &              cn_icbrst_indir, cn_icbrst_in   , cn_icbrst_outdir    , cn_icbrst_out 
    386387      !!---------------------------------------------------------------------- 
    387388 
     
    404405#endif    
    405406      !                             !==  read namelist  ==! 
    406       REWIND( numnam_ref )              ! Namelist namberg in reference namelist : Iceberg parameters 
    407407      READ  ( numnam_ref, namberg, IOSTAT = ios, ERR = 901) 
    408408901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namberg in reference namelist' ) 
    409       REWIND( numnam_cfg )              ! Namelist namberg in configuration namelist : Iceberg parameters 
    410409      READ  ( numnam_cfg, namberg, IOSTAT = ios, ERR = 902 ) 
    411410902   IF( ios >  0 ) CALL ctl_nam ( ios , 'namberg in configuration namelist' ) 
Note: See TracChangeset for help on using the changeset viewer.