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 13444 for NEMO/releases/r4.0/r4.0-HEAD/src/ICE/ice.F90 – NEMO

Ignore:
Timestamp:
2020-08-31T10:58:55+02:00 (4 years ago)
Author:
gsamson
Message:

move 'a_i_last_couple' variable declaration and allocation from ice.F90 to sbccpl.F90; delete cice specific declaration from sbc_ice.F90 and inialize 'info' variable to 'OASIS_idle' in sbc_cpl_snd routine (sbccpl.F90); see ticket #2514

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/src/ICE/ice.F90

    r13346 r13444  
    412412   ! 
    413413   !!---------------------------------------------------------------------- 
    414    !! * Only for atmospheric coupling 
    415    !!---------------------------------------------------------------------- 
    416    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   a_i_last_couple !: Ice fractional area at last coupling time 
    417    ! 
    418    !!---------------------------------------------------------------------- 
    419414   !! NEMO/ICE 4.0 , NEMO Consortium (2018) 
    420415   !! $Id$ 
     
    429424      INTEGER :: ice_alloc 
    430425      ! 
    431       INTEGER :: ierr(17), ii 
     426      INTEGER :: ierr(16), ii 
    432427      !!----------------------------------------------------------------- 
    433428      ierr(:) = 0 
     
    511506      ALLOCATE( t_si(jpi,jpj,jpl) , tm_si(jpi,jpj) , qcn_ice_bot(jpi,jpj,jpl) , qcn_ice_top(jpi,jpj,jpl) , STAT = ierr(ii) ) 
    512507 
    513       ! * For atmospheric coupling 
    514       ii = ii + 1 
    515       ALLOCATE( a_i_last_couple(jpi,jpj,jpl) , STAT=ierr(ii) ) 
    516  
    517508      ice_alloc = MAXVAL( ierr(:) ) 
    518509      IF( ice_alloc /= 0 )   CALL ctl_stop( 'STOP', 'ice_alloc: failed to allocate arrays.' ) 
Note: See TracChangeset for help on using the changeset viewer.