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 719 for trunk/NEMO/C1D_SRC/icestp1d.F90 – NEMO

Ignore:
Timestamp:
2007-10-16T16:59:56+02:00 (17 years ago)
Author:
ctlod
Message:

get back to the nemo_v2_3 version for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/C1D_SRC/icestp1d.F90

    • Property svn:keywords changed from Id to Author Date Id Revision
    r714 r719  
    1818   USE in_out_manager  ! I/O manager 
    1919   USE ice_oce         ! ice variables 
     20   USE flx_oce         ! forcings variables 
    2021   USE dom_ice         ! LIM sea-ice domain 
    21    USE sbc_oce         ! surface boundary condition: ocean 
    22    USE sbc_ice         ! surface boundary condition: ice 
     22   USE cpl_oce         ! coupled ocean-atmosphere variables 
     23   USE blk_oce         ! bulk variables 
    2324   USE daymod          ! calendar 
    2425   USE phycst          ! Define parameters for the routines 
     26   USE taumod          ! surface stress forcing 
    2527   USE ice             ! ice variables 
    2628   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    2729   USE limthd 
     30   USE limflx 
    2831   USE limwri 
    2932   USE limrst 
    3033 
     34   USE ocesbc          ! thermohaline fluxes 
     35   USE flxmod          ! thermohaline forcing 
     36   USE flxrnf          ! runoffs forcing 
    3137   USE tradmp          ! damping salinity trend 
    3238   USE dtatem          ! ocean temperature data 
     
    4652   !!---------------------------------------------------------------------- 
    4753   !!   LIM 2.0 , UCL-LOCEAN-IPSL (2006)  
    48    !! $Id$ 
     54   !! $Header$  
    4955   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    5056   !!---------------------------------------------------------------------- 
     
    103109         u_io  (:,:) = u_io  (:,:) / FLOAT( nfice ) 
    104110         v_io  (:,:) = v_io  (:,:) / FLOAT( nfice ) 
    105          gtaux (:,:) = utau  (:,:) 
    106          gtauy (:,:) = vtau  (:,:) 
     111         gtaux (:,:) = taux  (:,:) 
     112         gtauy (:,:) = tauy  (:,:) 
    107113 
    108114         zsss_io (:,:) = SQRT( sss_io(:,:) )  
     
    214220      IF( kt == nit000 ) THEN      
    215221         qsr    (:,:) = 0.e0 
    216          qns    (:,:) = 0.e0 
     222         qt     (:,:) = 0.e0 
    217223         qrp    (:,:) = 0.e0 
    218224         emp    (:,:) = 0.e0 
     
    232238      ! ----------------- 
    233239       
    234       qns (:,:) = fnsolar(:,:)                    ! non solar heat flux 
     240      qt  (:,:) = fnsolar(:,:) + fsolar(:,:)     ! non solar heat flux + solar flux 
    235241      qsr (:,:) = fsolar(:,:)                     ! solar flux 
    236242       
     
    255261         DO ji = 1, fs_jpim1   ! vertor opt. 
    256262            ztxy        = freezn(ji,jj)             ! ice/ocean indicator at T-points 
    257             utau(ji,jj) = (1.-ztxy) * utau(ji,jj) + ztxy * ftaux(ji,jj)    ! stress at the ocean surface 
    258             vtau(ji,jj) = (1.-ztxy) * vtau(ji,jj) + ztxy * ftauy(ji,jj) 
    259          END DO 
    260       END DO 
    261        
    262       ! boundary condition on the stress (utau,vtau) 
    263       CALL lbc_lnk( utau, 'U', -1. ) 
    264       CALL lbc_lnk( vtau, 'V', -1. ) 
     263            taux(ji,jj) = (1.-ztxy) * taux(ji,jj) + ztxy * ftaux(ji,jj)    ! stress at the ocean surface 
     264            tauy(ji,jj) = (1.-ztxy) * tauy(ji,jj) + ztxy * ftauy(ji,jj) 
     265         END DO 
     266      END DO 
     267       
     268      ! boundary condition on the stress (taux,tauy) 
     269      CALL lbc_lnk( taux, 'U', -1. ) 
     270      CALL lbc_lnk( tauy, 'V', -1. ) 
    265271       
    266272      ! Re-initialization of fluxes 
Note: See TracChangeset for help on using the changeset viewer.