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 5026 for branches/2015/dev_r5021_UKMO1_CICE_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90 – NEMO

Ignore:
Timestamp:
2015-01-14T12:48:38+01:00 (9 years ago)
Author:
timgraham
Message:

First set of changes for multicategory coupling with CICE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5021_UKMO1_CICE_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90

    r4990 r5026  
    346346            ENDDO 
    347347         ELSE 
    348 ! emp_ice is set in sbc_cpl_ice_flx as sublimation-snow 
    349             qla_ice(:,:,1)= - ( emp_ice(:,:)+sprecip(:,:) ) * Lsub 
    350 ! End of temporary code 
    351             DO jj=1,jpj 
    352                DO ji=1,jpi 
    353                   IF (fr_i(ji,jj).eq.0.0) THEN 
    354                      DO jl=1,ncat 
    355                         ztmpn(ji,jj,jl)=0.0 
    356                      ENDDO 
    357                      ! This will then be conserved in CICE 
    358                      ztmpn(ji,jj,1)=qla_ice(ji,jj,1) 
    359                   ELSE 
    360                      DO jl=1,ncat 
    361                         ztmpn(ji,jj,jl)=qla_ice(ji,jj,1)*a_i(ji,jj,jl)/fr_i(ji,jj) 
    362                      ENDDO 
    363                   ENDIF 
    364                ENDDO 
    365             ENDDO 
     348           !In coupled mode - qla_ice calculated in sbc_cpl for each category 
     349           ztmpn(:,:,1:ncat)=qla_ice(:,:,1:ncat) 
    366350         ENDIF 
     351 
    367352         DO jl=1,ncat 
    368353            CALL nemo2cice(ztmpn(:,:,jl),flatn_f(:,:,jl,:),'T', 1. ) 
Note: See TracChangeset for help on using the changeset viewer.