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

Ignore:
Timestamp:
2017-07-13T11:29:29+02:00 (7 years ago)
Author:
clem
Message:

STEP4 (3): put all thermodynamics in 1D (limthd_da OK)

File:
1 edited

Legend:

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

    r8325 r8327  
    476476         DO jk = 1, nlay_i 
    477477            DO ji = kideb, kiut 
    478                ii =  MOD( npb(ji) - 1 , jpi ) + 1 
    479                ij =     ( npb(ji) - 1 ) / jpi + 1 
     478               ii =  MOD( idxice(ji) - 1 , jpi ) + 1 
     479               ij =     ( idxice(ji) - 1 ) / jpi + 1 
    480480               ! zswi0 = 1 if sm_i le zsi0 and 0 otherwise 
    481481               zswi0  = MAX( 0._wp , SIGN( 1._wp  , zsi0 - sm_i_1d(ji) ) )  
Note: See TracChangeset for help on using the changeset viewer.