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 11479 for NEMO/branches/UKMO/NEMO_4.0_fix_cpl_oce_only/src/ICE/ice.F90 – NEMO

Ignore:
Timestamp:
2019-08-28T17:24:26+02:00 (5 years ago)
Author:
dancopsey
Message:

Allocate space for a_i_last_couple after number of ice categories has been loaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_fix_cpl_oce_only/src/ICE/ice.F90

    r11408 r11479  
    394394      INTEGER :: ice_alloc 
    395395      ! 
    396       INTEGER :: ierr(15), ii 
     396      INTEGER :: ierr(16), ii 
    397397      !!----------------------------------------------------------------- 
    398398      ierr(:) = 0 
     
    429429 
    430430      ii = ii + 1 
     431      ALLOCATE( a_i_last_couple(jpi,jpj,jpl) , STAT=ierr(ii) ) 
     432 
     433      ii = ii + 1 
    431434      ALLOCATE( u_ice(jpi,jpj) , v_ice(jpi,jpj) ,                                   & 
    432435         &      vt_i (jpi,jpj) , vt_s (jpi,jpj) , at_i(jpi,jpj) , ato_i(jpi,jpj) ,  & 
Note: See TracChangeset for help on using the changeset viewer.