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 14322 – NEMO

Changeset 14322


Ignore:
Timestamp:
2021-01-20T15:42:16+01:00 (3 years ago)
Author:
dancopsey
Message:

Reverted changeset [13444]

Location:
NEMO/branches/UKMO/NEMO_4.0.4_revert_a_i_last_couple/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_revert_a_i_last_couple/src/ICE/ice.F90

    r14075 r14322  
    417417   ! 
    418418   !!---------------------------------------------------------------------- 
     419   !! * Only for atmospheric coupling 
     420   !!---------------------------------------------------------------------- 
     421   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   a_i_last_couple !: Ice fractional area at last coupling time 
     422   ! 
     423   !!---------------------------------------------------------------------- 
    419424   !! NEMO/ICE 4.0 , NEMO Consortium (2018) 
    420425   !! $Id$ 
     
    429434      INTEGER :: ice_alloc 
    430435      ! 
    431       INTEGER :: ierr(16), ii 
     436      INTEGER :: ierr(17), ii 
    432437      !!----------------------------------------------------------------- 
    433438      ierr(:) = 0 
     
    512517      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) ) 
    513518 
     519      ! * For atmospheric coupling 
     520      ii = ii + 1 
     521      ALLOCATE( a_i_last_couple(jpi,jpj,jpl) , STAT=ierr(ii) ) 
     522 
    514523      ice_alloc = MAXVAL( ierr(:) ) 
    515524      IF( ice_alloc /= 0 )   CALL ctl_stop( 'STOP', 'ice_alloc: failed to allocate arrays.' ) 
  • NEMO/branches/UKMO/NEMO_4.0.4_revert_a_i_last_couple/src/OCE/SBC/sbc_ice.F90

    r14075 r14322  
    9595   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::  a_i 
    9696   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::  h_i, h_s 
     97   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::  a_i_last_couple   !: Sea ice fraction on categories at the last coupling point 
    9798 
    9899   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   tatm_ice       !: air temperature [K] 
  • NEMO/branches/UKMO/NEMO_4.0.4_revert_a_i_last_couple/src/OCE/SBC/sbccpl.F90

    r14075 r14322  
    205205 
    206206   REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) ::   alb_oce_mix    ! ocean albedo sent to atmosphere (mix clear/overcast sky) 
    207 #if defined key_si3 || defined key_cice 
    208    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   a_i_last_couple !: Ice fractional area at last coupling time 
    209 #endif 
    210207 
    211208   REAL(wp) ::   rpref = 101000._wp   ! reference atmospheric pressure[N/m2]  
     
    227224      !!             ***  FUNCTION sbc_cpl_alloc  *** 
    228225      !!---------------------------------------------------------------------- 
    229       INTEGER :: ierr(5) 
     226      INTEGER :: ierr(4) 
    230227      !!---------------------------------------------------------------------- 
    231228      ierr(:) = 0 
     
    237234#endif 
    238235      ALLOCATE( xcplmask(jpi,jpj,0:nn_cplmodel) , STAT=ierr(3) ) 
    239 #if defined key_si3 || defined key_cice 
    240       ALLOCATE( a_i_last_couple(jpi,jpj,jpl) , STAT=ierr(4) ) 
    241 #endif 
    242       ! 
    243       IF( .NOT. ln_apr_dyn ) ALLOCATE( ssh_ib(jpi,jpj), ssh_ibb(jpi,jpj), apr(jpi, jpj), STAT=ierr(5) ) 
     236      ! 
     237      IF( .NOT. ln_apr_dyn ) ALLOCATE( ssh_ib(jpi,jpj), ssh_ibb(jpi,jpj), apr(jpi, jpj), STAT=ierr(4) )  
    244238 
    245239      sbc_cpl_alloc = MAXVAL( ierr ) 
     
    21892183      ! 
    21902184      isec = ( kt - nit000 ) * NINT( rdt )        ! date of exchanges 
    2191       info = OASIS_idle 
    21922185 
    21932186      zfr_l(:,:) = 1.- fr_i(:,:) 
Note: See TracChangeset for help on using the changeset viewer.