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 888 for trunk/NEMO/OPA_SRC/TRD – NEMO

Changeset 888 for trunk/NEMO/OPA_SRC/TRD


Ignore:
Timestamp:
2008-04-11T19:05:03+02:00 (16 years ago)
Author:
ctlod
Message:

merge dev_001_SBC branche with the trunk to include the New Surface Module package, see ticket: #113

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRD/trdmod.F90

    r719 r888  
    1212   !!   trd_mod_init     : Initialization step 
    1313   !!---------------------------------------------------------------------- 
    14    USE phycst                  ! physical constants 
    1514   USE oce                     ! ocean dynamics and tracers variables 
    1615   USE dom_oce                 ! ocean space and time domain variables 
     
    1817   USE trdmod_oce              ! ocean variables trends 
    1918   USE ldftra_oce              ! ocean active tracers lateral physics 
     19   USE sbc_oce                 ! surface boundary condition: ocean 
     20   USE phycst                  ! physical constants 
    2021   USE trdvor                  ! ocean vorticity trends  
    2122   USE trdicp                  ! ocean bassin integral constraints properties 
    2223   USE trdmld                  ! ocean active mixed layer tracers trends  
    2324   USE in_out_manager          ! I/O manager 
    24    USE taumod                  ! surface ocean stress 
    2525 
    2626   IMPLICIT NONE 
     
    3737   !!---------------------------------------------------------------------- 
    3838   !!   OPA 9.0 , LOCEAN-IPSL (2005)  
    39    !! $Header$  
     39   !! $Id$ 
    4040   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    4141   !!---------------------------------------------------------------------- 
     
    124124                  DO ji = fs_2, fs_jpim1   ! vector opt. 
    125125                     ! save the surface forcing momentum fluxes 
    126                      ztswu(ji,jj) = taux(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
    127                      ztswv(ji,jj) = tauy(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
     126                     ztswu(ji,jj) = utau(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
     127                     ztswv(ji,jj) = vtau(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
    128128                     ! save bottom friction momentum fluxes 
    129129                     ikbu   = MIN( mbathy(ji+1,jj  ), mbathy(ji,jj) ) 
     
    175175               DO ji = fs_2, fs_jpim1   ! vector opt. 
    176176                  ! save the surface forcing momentum fluxes 
    177                   ztswu(ji,jj) = taux(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
    178                   ztswv(ji,jj) = tauy(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
     177                  ztswu(ji,jj) = utau(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
     178                  ztswv(ji,jj) = vtau(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
    179179                  ! save bottom friction momentum fluxes 
    180180                  ikbu   = MIN( mbathy(ji+1,jj  ), mbathy(ji,jj) ) 
Note: See TracChangeset for help on using the changeset viewer.