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 4616 for branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2014-04-06T17:28:25+02:00 (10 years ago)
Author:
gm
Message:

#1260 : see the associated wiki page for explanation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r4393 r4616  
    752752         ! => need to be done only when otx1 was changed 
    753753         IF( llnewtx ) THEN 
    754 !CDIR NOVERRCHK 
    755754            DO jj = 2, jpjm1 
    756 !CDIR NOVERRCHK 
    757755               DO ji = fs_2, fs_jpim1   ! vect. opt. 
    758756                  zzx = frcv(jpr_otx1)%z3(ji-1,jj  ,1) + frcv(jpr_otx1)%z3(ji,jj,1) 
     
    782780         IF( llnewtau ) THEN  
    783781            zcoef = 1. / ( zrhoa * zcdrag )  
    784 !CDIR NOVERRCHK 
    785782            DO jj = 1, jpj 
    786 !CDIR NOVERRCHK 
    787783               DO ji = 1, jpi  
    788784                  wndm(ji,jj) = SQRT( frcv(jpr_taum)%z3(ji,jj,1) * zcoef ) 
     
    797793      ! -> need to be reset before each call of the ice/fsbc       
    798794      IF( MOD( kt-1, k_fsbc ) == 0 ) THEN 
    799          ! 
    800795         utau(:,:) = frcv(jpr_otx1)%z3(:,:,1) 
    801796         vtau(:,:) = frcv(jpr_oty1)%z3(:,:,1) 
    802797         taum(:,:) = frcv(jpr_taum)%z3(:,:,1) 
    803798         CALL iom_put( "taum_oce", taum )   ! output wind stress module 
    804          !   
    805799      ENDIF 
    806800 
     
    832826!!         IF( TRIM( sn_rcv_rnf%cldes ) == 'coupled' ) THEN     ! add to the total freshwater budget 
    833827!!            ! remove negative runoff 
    834 !!            zcumulpos = SUM( MAX( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1t(:,:) * e2t(:,:) * tmask_i(:,:) )  
    835 !!            zcumulneg = SUM( MIN( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1t(:,:) * e2t(:,:) * tmask_i(:,:) ) 
     828!!            zcumulpos = SUM( MAX( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1e2t(:,:) * tmask_i(:,:) )  
     829!!            zcumulneg = SUM( MIN( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1e2t(:,:) * tmask_i(:,:) ) 
    836830!!            IF( lk_mpp )   CALL mpp_sum( zcumulpos )   ! sum over the global domain 
    837831!!            IF( lk_mpp )   CALL mpp_sum( zcumulneg )  
     
    11831177!!gm                                       at least should be optional... 
    11841178!!       ! remove negative runoff                            ! sum over the global domain 
    1185 !!       zcumulpos = SUM( MAX( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1t(:,:) * e2t(:,:) * tmask_i(:,:) )  
    1186 !!       zcumulneg = SUM( MIN( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1t(:,:) * e2t(:,:) * tmask_i(:,:) ) 
     1179!!       zcumulpos = SUM( MAX( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1e2t(:,:) * tmask_i(:,:) )  
     1180!!       zcumulneg = SUM( MIN( frcv(jpr_rnf)%z3(:,:,1), 0.e0 ) * e1e2t(:,:) * tmask_i(:,:) ) 
    11871181!!       IF( lk_mpp )   CALL mpp_sum( zcumulpos ) 
    11881182!!       IF( lk_mpp )   CALL mpp_sum( zcumulneg )  
Note: See TracChangeset for help on using the changeset viewer.