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 7761 for trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynhpg.F90 – NEMO

Ignore:
Timestamp:
2017-03-06T18:58:35+01:00 (7 years ago)
Author:
clem
Message:

make AGRIF and LIM3 fully compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/DYN/dynhpg.F90

    r7753 r7761  
    13301330      jpi   = size(fsp,1) 
    13311331      jpj   = size(fsp,2) 
    1332       jpkm1 = size(fsp,3) - 1 
     1332      jpkm1 = MAX( 1, size(fsp,3) - 1 ) 
    13331333      ! 
    13341334      IF (polynomial_type == 1) THEN     ! Constrained Cubic Spline 
Note: See TracChangeset for help on using the changeset viewer.