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 12733 for NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE – NEMO

Ignore:
Timestamp:
2020-04-10T13:07:50+02:00 (4 years ago)
Author:
clem
Message:

change sbccpl.F90 to fulfill Met-Office requirements (hopefully)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/r4.0-HEAD_r12713_clem_dan_fixcpl/src/ICE/ice.F90

    r12726 r12733  
    398398   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   qcn_ice_top   !: Surface conduction flux (W/m2) 
    399399 
     400   !!---------------------------------------------------------------------- 
     401   !! * Only for atmospheric coupling 
     402   !!---------------------------------------------------------------------- 
     403   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   a_i_last_couple !: Ice fractional area at last coupling time 
    400404   ! 
    401405   !!---------------------------------------------------------------------- 
     
    412416      INTEGER :: ice_alloc 
    413417      ! 
    414       INTEGER :: ierr(16), ii 
     418      INTEGER :: ierr(17), ii 
    415419      !!----------------------------------------------------------------- 
    416420      ierr(:) = 0 
     
    494498      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) ) 
    495499 
     500      ! * For atmospheric coupling 
     501      ii = ii + 1 
     502      ALLOCATE( a_i_last_couple(jpi,jpj,jpl) , STAT=ierr(ii) ) 
     503 
    496504      ice_alloc = MAXVAL( ierr(:) ) 
    497505      IF( ice_alloc /= 0 )   CALL ctl_stop( 'STOP', 'ice_alloc: failed to allocate arrays.' ) 
    498506      ! 
     507 
    499508   END FUNCTION ice_alloc 
    500509 
Note: See TracChangeset for help on using the changeset viewer.