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 15194 for NEMO/branches/UKMO/NEMO_4.0.4_momentum_trends/src/OCE/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2021-08-13T17:14:10+02:00 (3 years ago)
Author:
davestorkey
Message:

UKMO/NEMO_4.0.4_momentum_trends: Bug fixes so that it works with explicit friction (ln_drgimp=F).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_momentum_trends/src/OCE/DYN/dynspg_ts.F90

    r15179 r15194  
    392392               END DO 
    393393            ENDIF 
    394             CALL trd_dyn( ztautrdu, ztautrdv, jpdyn_iceoc2d, kt ) 
     394            IF( ln_isfcav.OR.ln_drgice_imp ) THEN 
     395               ! Save this part of the ice-ocean drag as the first installment of top friction 
     396               CALL trd_dyn( ztautrdu, ztautrdv, jpdyn_iceoc2d, kt ) 
     397            ELSE 
     398               ! In this case this is the whole top friction trend 
     399               CALL trd_dyn( ztautrdu, ztautrdv, jpdyn_tfr, kt ) 
     400            ENDIF 
    395401         ENDIF 
    396402         ! initialise fields for wind stress trends 
Note: See TracChangeset for help on using the changeset viewer.