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 4099 for branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2013-10-22T14:07:21+02:00 (11 years ago)
Author:
clem
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r3914 r4099  
    471471      ! Coupled case: since cloud cover is not received from atmosphere  
    472472      !               ===> defined as constant value -> definition done in sbc_cpl_init 
    473       fr1_i0(:,:) = 0.18 
    474       fr2_i0(:,:) = 0.82 
     473      IF ( ALLOCATED (fr1_i0)) fr1_i0 (:,:) = 0.18 
     474      IF ( ALLOCATED (fr2_i0)) fr2_i0 (:,:) = 0.82 
    475475      !                                                      ! ------------------------- ! 
    476476      !                                                      !      10m wind module      !    
     
    931931      CALL wrk_alloc( jpi,jpj, ztx, zty ) 
    932932 
    933       IF( srcv(jpr_itx1)%laction ) THEN   ;   itx =  jpr_itx1    
     933!AC Pour eviter un stress nul sur la glace dans le cas mixed oce-ice 
     934      IF( srcv(jpr_itx1)%laction .AND. TRIM( sn_rcv_tau%cldes ) == 'oce and ice') THEN   ;   itx =  jpr_itx1    
    934935      ELSE                                ;   itx =  jpr_otx1 
    935936      ENDIF 
     
    938939      IF(  nrcvinfo(itx) == OASIS_Rcv ) THEN 
    939940 
    940          !                                                      ! ======================= ! 
    941          IF( srcv(jpr_itx1)%laction ) THEN                      !   ice stress received   ! 
    942             !                                                   ! ======================= ! 
     941         !                                                                                              ! ======================= ! 
     942!AC Pour eviter un stress nul sur la glace dans le cas mixes oce-ice 
     943         IF( srcv(jpr_itx1)%laction .AND. TRIM( sn_rcv_tau%cldes ) == 'oce and ice') THEN               !   ice stress received   ! 
     944            !                                                                                           ! ======================= ! 
    943945            !   
    944946            IF( TRIM( sn_rcv_tau%clvref ) == 'cartesian' ) THEN            ! 2 components on the sphere 
Note: See TracChangeset for help on using the changeset viewer.