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 8553 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2017-09-21T13:09:26+02:00 (7 years ago)
Author:
jcastill
Message:

Cap the value of tauoc as recieved via coupling or via forcing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r8109 r8553  
    12001200      !                                                      ! Stress adsorbed by waves  !  
    12011201      !                                                      ! ========================= !   
    1202       IF( srcv(jpr_tauoc)%laction .AND. ln_tauoc ) tauoc_wave(:,:) = frcv(jpr_tauoc)%z3(:,:,1)  
     1202      IF( srcv(jpr_tauoc)%laction .AND. ln_tauoc ) THEN 
     1203         tauoc_wave(:,:) = frcv(jpr_tauoc)%z3(:,:,1) 
     1204         ! cap the value of tauoc 
     1205         WHERE(tauoc_wave <   0.0 ) tauoc_wave = 1.0 
     1206         WHERE(tauoc_wave > 100.0 ) tauoc_wave = 1.0 
     1207      ENDIF 
    12031208       
    12041209      !                                                      ! ========================= !   
Note: See TracChangeset for help on using the changeset viewer.