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 12377 for NEMO/trunk/src/ICE/iceitd.F90 – NEMO

Ignore:
Timestamp:
2020-02-12T15:39:06+01:00 (4 years ago)
Author:
acc
Message:

The big one. Merging all 2019 developments from the option 1 branch back onto the trunk.

This changeset reproduces 2019/dev_r11943_MERGE_2019 on the trunk using a 2-URL merge
onto a working copy of the trunk. I.e.:

svn merge --ignore-ancestry \

svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk \
svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/2019/dev_r11943_MERGE_2019 ./

The --ignore-ancestry flag avoids problems that may otherwise arise from the fact that
the merge history been trunk and branch may have been applied in a different order but
care has been taken before this step to ensure that all applicable fixes and updates
are present in the merge branch.

The trunk state just before this step has been branched to releases/release-4.0-HEAD
and that branch has been immediately tagged as releases/release-4.0.2. Any fixes
or additions in response to tickets on 4.0, 4.0.1 or 4.0.2 should be done on
releases/release-4.0-HEAD. From now on future 'point' releases (e.g. 4.0.2) will
remain unchanged with periodic releases as needs demand. Note release-4.0-HEAD is a
transitional naming convention. Future full releases, say 4.2, will have a release-4.2
branch which fulfills this role and the first point release (e.g. 4.2.0) will be made
immediately following the release branch creation.

2020 developments can be started from any trunk revision later than this one.

Location:
NEMO/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk

    • Property svn:externals
      •  

        old new  
        33^/utils/build/mk@HEAD         mk 
        44^/utils/tools@HEAD            tools 
        5 ^/vendors/AGRIF/dev@HEAD      ext/AGRIF 
         5^/vendors/AGRIF/dev_r11615_ENHANCE-04_namelists_as_internalfiles_agrif@HEAD      ext/AGRIF 
        66^/vendors/FCM@HEAD            ext/FCM 
        77^/vendors/IOIPSL@HEAD         ext/IOIPSL 
  • NEMO/trunk/src/ICE/iceitd.F90

    r11732 r12377  
    4848   REAL(wp), DIMENSION(0:100) ::   rn_catbnd    ! ice categories bounds 
    4949   ! 
     50   !! * Substitutions 
     51#  include "do_loop_substitute.h90" 
    5052   !!---------------------------------------------------------------------- 
    5153   !! NEMO/ICE 4.0 , NEMO Consortium (2018) 
     
    9698      ! 
    9799      npti = 0   ;   nptidx(:) = 0 
    98       DO jj = 1, jpj 
    99          DO ji = 1, jpi 
    100             IF ( at_i(ji,jj) > epsi10 ) THEN 
    101                npti = npti + 1 
    102                nptidx( npti ) = (jj - 1) * jpi + ji 
    103             ENDIF 
    104          END DO 
    105       END DO 
     100      DO_2D_11_11 
     101         IF ( at_i(ji,jj) > epsi10 ) THEN 
     102            npti = npti + 1 
     103            nptidx( npti ) = (jj - 1) * jpi + ji 
     104         ENDIF 
     105      END_2D 
    106106       
    107107      !----------------------------------------------------------------------------------------------- 
     
    597597         !                    !--------------------------------------- 
    598598         npti = 0   ;   nptidx(:) = 0 
    599          DO jj = 1, jpj 
    600             DO ji = 1, jpi 
    601                IF( a_i(ji,jj,jl) > 0._wp .AND. v_i(ji,jj,jl) > (a_i(ji,jj,jl) * hi_max(jl)) ) THEN 
    602                   npti = npti + 1 
    603                   nptidx( npti ) = (jj - 1) * jpi + ji                   
    604                ENDIF 
    605             END DO 
    606          END DO 
     599         DO_2D_11_11 
     600            IF( a_i(ji,jj,jl) > 0._wp .AND. v_i(ji,jj,jl) > (a_i(ji,jj,jl) * hi_max(jl)) ) THEN 
     601               npti = npti + 1 
     602               nptidx( npti ) = (jj - 1) * jpi + ji                   
     603            ENDIF 
     604         END_2D 
    607605         ! 
    608606!!clem   CALL tab_2d_1d( npti, nptidx(1:npti), h_i_1d(1:npti), h_i(:,:,jl) ) 
     
    638636         !                    !----------------------------------------- 
    639637         npti = 0 ; nptidx(:) = 0 
    640          DO jj = 1, jpj 
    641             DO ji = 1, jpi 
    642                IF( a_i(ji,jj,jl+1) > 0._wp .AND. v_i(ji,jj,jl+1) <= (a_i(ji,jj,jl+1) * hi_max(jl)) ) THEN 
    643                   npti = npti + 1 
    644                   nptidx( npti ) = (jj - 1) * jpi + ji                   
    645                ENDIF 
    646             END DO 
    647          END DO 
     638         DO_2D_11_11 
     639            IF( a_i(ji,jj,jl+1) > 0._wp .AND. v_i(ji,jj,jl+1) <= (a_i(ji,jj,jl+1) * hi_max(jl)) ) THEN 
     640               npti = npti + 1 
     641               nptidx( npti ) = (jj - 1) * jpi + ji                   
     642            ENDIF 
     643         END_2D 
    648644         ! 
    649645         CALL tab_2d_1d( npti, nptidx(1:npti), a_i_1d(1:npti), a_i(:,:,jl+1) ) ! jl+1 is ok 
     
    686682      !!------------------------------------------------------------------ 
    687683      ! 
    688       REWIND( numnam_ice_ref )      ! Namelist namitd in reference namelist : Parameters for ice 
    689684      READ  ( numnam_ice_ref, namitd, IOSTAT = ios, ERR = 901) 
    690685901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namitd in reference namelist' ) 
    691       REWIND( numnam_ice_cfg )      ! Namelist namitd in configuration namelist : Parameters for ice 
    692686      READ  ( numnam_ice_cfg, namitd, IOSTAT = ios, ERR = 902 ) 
    693687902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namitd in configuration namelist' ) 
Note: See TracChangeset for help on using the changeset viewer.