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 15176 for NEMO/branches/UKMO/NEMO_4.0.4_momentum_trends/src/OCE/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2021-08-09T16:08:00+02:00 (3 years ago)
Author:
davestorkey
Message:

UKMO/NEMO_4.0.4_momentum_trends:

  1. Output complete budget of 2D trends.
  2. Separate out ice-ocean stress from wind stress (for 2D budget).
  3. Allow thickness weighting of 2D trends.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_momentum_trends/src/OCE/SBC/sbcmod.F90

    r14075 r15176  
    5252   USE usrdef_sbc     ! user defined: surface boundary condition 
    5353   USE closea         ! closed sea 
     54   USE trd_oce, ONLY: l_trddyn ! flag for dynamics trends diagnostics 
    5455   ! 
    5556   USE prtctl         ! Print control                    (prt_ctl routine) 
     
    418419            risf_tsc_b(:,:,:) = risf_tsc(:,:,:)               
    419420         ENDIF 
    420         ! 
     421         IF( l_trddyn .and. nn_ice == 2 ) THEN 
     422            uiceoc_b(:,:) = uiceoc(:,:)       
     423            viceoc_b(:,:) = viceoc(:,:)       
     424         ENDIF         
     425         ! 
    421426      ENDIF 
    422427      !                                            ! ---------------------------------------- ! 
     
    532537            sfx_b (:,:) = sfx (:,:) 
    533538         ENDIF 
     539         ! 
     540         IF( l_trddyn .and. nn_ice == 2 ) THEN 
     541            uiceoc_b(:,:) = uiceoc(:,:)       
     542            viceoc_b(:,:) = viceoc(:,:)       
     543         ENDIF         
     544         ! 
    534545      ENDIF 
    535546      !                                                ! ---------------------------------------- ! 
Note: See TracChangeset for help on using the changeset viewer.