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 3402 for branches/2012/dev_r3385_NOCS04_HAMF/NEMOGCM/NEMO/OPA_SRC/DOM/closea.F90 – NEMO

Ignore:
Timestamp:
2012-05-25T18:43:49+02:00 (12 years ago)
Author:
acc
Message:

Branch: dev_r3385_NOCS04_HAMF; #665. Stage 2 of 2012 development: suppression of emps array and introduction of sfx (salt flux) array with associated code to setup the options for embedding the seaice into the ocean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3385_NOCS04_HAMF/NEMOGCM/NEMO/OPA_SRC/DOM/closea.F90

    r2715 r3402  
    173173      !!      put as run-off in open ocean. 
    174174      !! 
    175       !! ** Action  :   emp, emps   updated surface freshwater fluxes at kt 
     175      !! ** Action  :   emp   updated surface freshwater flux at kt 
    176176      !!---------------------------------------------------------------------- 
    177177      INTEGER, INTENT(in) ::   kt   ! ocean model time step 
     
    214214      ENDIF 
    215215      !                                                   !--------------------! 
    216       !                                                   !  update emp, emps  ! 
     216      !                                                   !  update emp        ! 
    217217      zfwf = 0.e0                                         !--------------------! 
    218218      DO jc = 1, jpncs 
     
    236236            ! water/evap excess is shared by all open ocean 
    237237            emp (:,:) = emp (:,:) + zfwf(jc) / surf(jpncs+1) 
    238             emps(:,:) = emps(:,:) + zfwf(jc) / surf(jpncs+1) 
    239238         ELSEIF( ncstt(jc) == 1 ) THEN  
    240239            ! Excess water in open sea, at outflow location, excess evap shared 
     
    247246                      emp (ji,jj) = emp (ji,jj) + zfwf(jc) /   & 
    248247                         (FLOAT(ncsnr(jc)) * e1t(ji,jj) * e2t(ji,jj)) 
    249                       emps(ji,jj) = emps(ji,jj) + zfwf(jc) /   & 
    250                           (FLOAT(ncsnr(jc)) * e1t(ji,jj) * e2t(ji,jj)) 
    251248                  END IF  
    252249                END DO  
    253250            ELSE  
    254251                emp (:,:) = emp (:,:) + zfwf(jc) / surf(jpncs+1) 
    255                 emps(:,:) = emps(:,:) + zfwf(jc) / surf(jpncs+1) 
    256252            ENDIF 
    257253         ELSEIF( ncstt(jc) == 2 ) THEN  
     
    264260                  emp (ji,jj) = emp (ji,jj) + zfwf(jc)   & 
    265261                      / (FLOAT(ncsnr(jc)) *  e1t(ji,jj) * e2t(ji,jj) ) 
    266                   emps(ji,jj) = emps(ji,jj) + zfwf(jc)   & 
    267                       / (FLOAT(ncsnr(jc)) *  e1t(ji,jj) * e2t(ji,jj) ) 
    268262                END DO  
    269263            ENDIF  
     
    273267            DO ji = ncsi1(jc), ncsi2(jc) 
    274268               emp (ji,jj) = emp (ji,jj) - zfwf(jc) / surf(jc) 
    275                emps(ji,jj) = emps(ji,jj) - zfwf(jc) / surf(jc) 
    276269            END DO   
    277270         END DO  
     
    280273      ! 
    281274      CALL lbc_lnk( emp , 'T', 1. ) 
    282       CALL lbc_lnk( emps, 'T', 1. ) 
    283275      ! 
    284276   END SUBROUTINE sbc_clo 
Note: See TracChangeset for help on using the changeset viewer.