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 7646 for trunk/NEMOGCM/NEMO/OPA_SRC/BDY/bdyice_lim.F90 – NEMO

Ignore:
Timestamp:
2017-02-06T10:25:03+01:00 (7 years ago)
Author:
timgraham
Message:

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/BDY/bdyice_lim.F90

    r5836 r7646  
    88   !!              -   !  2012-01 (C. Rousset)  add lim3 and remove useless jk loop  
    99   !!---------------------------------------------------------------------- 
    10 #if defined   key_bdy   &&  ( defined key_lim2 || defined key_lim3 ) 
    11    !!---------------------------------------------------------------------- 
    12    !!   'key_bdy'            and                 Unstructured Open Boundary Conditions 
     10#if defined key_lim2 || defined key_lim3 
     11   !!---------------------------------------------------------------------- 
    1312   !!   'key_lim2'                                                 LIM-2 sea ice model 
    1413   !!   'key_lim3'                                                 LIM-3 sea ice model 
     
    2726#elif defined key_lim3 
    2827   USE ice             ! LIM_3 ice variables 
    29    USE dom_ice         ! sea-ice domain 
    3028   USE limvar 
     29   USE limctl 
    3130#endif  
    3231   USE par_oce         ! ocean parameters 
     
    8281      ! 
    8382#if defined key_lim3 
    84       CALL lim_var_zapsmall 
    85       CALL lim_var_agg(1) 
     83                        CALL lim_var_zapsmall 
     84                        CALL lim_var_agg(1) 
     85      IF( ln_limctl )   CALL lim_prt( kt, iiceprt, jiceprt, 1, ' - ice thermo bdy - ' ) 
    8686#endif 
    8787      ! 
     
    121121      ! 
    122122#if defined key_lim2 
    123       DO jb = 1, idx%nblen(jgrd) 
     123      DO jb = 1, idx%nblenrim(jgrd) 
    124124         ji    = idx%nbi(jb,jgrd) 
    125125         jj    = idx%nbj(jb,jgrd) 
     
    141141 
    142142      DO jl = 1, jpl 
    143          DO jb = 1, idx%nblen(jgrd) 
     143         DO jb = 1, idx%nblenrim(jgrd) 
    144144            ji    = idx%nbi(jb,jgrd) 
    145145            jj    = idx%nbj(jb,jgrd) 
     
    177177 
    178178      DO jl = 1, jpl 
    179          DO jb = 1, idx%nblen(jgrd) 
     179         DO jb = 1, idx%nblenrim(jgrd) 
    180180            ji    = idx%nbi(jb,jgrd) 
    181181            jj    = idx%nbj(jb,jgrd) 
     
    236236            END SELECT 
    237237            ! 
    238             IF( nn_icesal == 1 ) THEN     ! constant salinity : overwrite rn_ice_sal 
     238            IF( nn_icesal == 1 ) THEN     ! constant salinity : overwrite rn_icesal 
    239239               sm_i(ji,jj  ,jl) = rn_icesal 
    240240               s_i (ji,jj,:,jl) = rn_icesal 
     
    325325            CASE ( 'U' )   
    326326               jgrd = 2      ! u velocity 
    327                DO jb = 1, idx_bdy(ib_bdy)%nblen(jgrd) 
     327               DO jb = 1, idx_bdy(ib_bdy)%nblenrim(jgrd) 
    328328                  ji    = idx_bdy(ib_bdy)%nbi(jb,jgrd) 
    329329                  jj    = idx_bdy(ib_bdy)%nbj(jb,jgrd) 
     
    352352            CASE ( 'V' ) 
    353353               jgrd = 3      ! v velocity 
    354                DO jb = 1, idx_bdy(ib_bdy)%nblen(jgrd) 
     354               DO jb = 1, idx_bdy(ib_bdy)%nblenrim(jgrd) 
    355355                  ji    = idx_bdy(ib_bdy)%nbi(jb,jgrd) 
    356356                  jj    = idx_bdy(ib_bdy)%nbj(jb,jgrd) 
Note: See TracChangeset for help on using the changeset viewer.