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

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/C1D_SRC/icestp1d.F90

    r833 r888  
    66   !! History :   9.0  !  04-10  (C. Ethe)  from icestp, 1D configuration 
    77   !!---------------------------------------------------------------------- 
    8 #if defined key_cfg_1d && defined key_lim3 
     8#if defined key_cfg_1d && ( defined key_lim3 || defined key_lim2 ) 
    99   !!---------------------------------------------------------------------- 
    1010   !!   'key_cfg_1d'  .AND.                                1D Configuration 
    11    !!   'key_lim3'                                     Lim sea-ice model 
     11   !!   'key_lim2' OR 'key_lim3' :             LIM 2.0 or 3.0 sea-ice model 
    1212   !!---------------------------------------------------------------------- 
    1313   !!---------------------------------------------------------------------- 
     
    1818   USE in_out_manager  ! I/O manager 
    1919   USE ice_oce         ! ice variables 
    20    USE flx_oce         ! forcings variables 
    21    USE dom_ice         ! LIM sea-ice domain 
    22    USE cpl_oce         ! coupled ocean-atmosphere variables 
    23    USE blk_oce         ! bulk variables 
     20   USE dom_ice_2       ! LIM sea-ice domain 
     21   USE sbc_oce         ! surface boundary condition: ocean 
     22   USE sbc_ice         ! surface boundary condition: ice 
    2423   USE daymod          ! calendar 
    2524   USE phycst          ! Define parameters for the routines 
    26    USE taumod          ! surface stress forcing 
    27    USE ice             ! ice variables 
     25   USE ice_2           ! ice variables 
    2826   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    29    USE limthd 
    30    USE limflx 
    31    USE limwri 
    32    USE limrst 
    33  
    34    USE ocesbc          ! thermohaline fluxes 
    35    USE flxmod          ! thermohaline forcing 
    36    USE flxrnf          ! runoffs forcing 
     27   USE limthd_2 
     28   USE limwri_2 
     29   USE limrst_2 
     30 
    3731   USE tradmp          ! damping salinity trend 
    3832   USE dtatem          ! ocean temperature data 
     
    5246   !!---------------------------------------------------------------------- 
    5347   !!   LIM 2.0 , UCL-LOCEAN-IPSL (2006)  
    54    !! $Header$  
     48   !! $Id$ 
    5549   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    5650   !!---------------------------------------------------------------------- 
     
    109103         u_io  (:,:) = u_io  (:,:) / FLOAT( nfice ) 
    110104         v_io  (:,:) = v_io  (:,:) / FLOAT( nfice ) 
    111          gtaux (:,:) = taux  (:,:) 
    112          gtauy (:,:) = tauy  (:,:) 
     105         gtaux (:,:) = utau  (:,:) 
     106         gtauy (:,:) = vtau  (:,:) 
    113107 
    114108         zsss_io (:,:) = SQRT( sss_io(:,:) )  
     
    220214      IF( kt == nit000 ) THEN      
    221215         qsr    (:,:) = 0.e0 
    222          qt     (:,:) = 0.e0 
     216         qns    (:,:) = 0.e0 
    223217         qrp    (:,:) = 0.e0 
    224218         emp    (:,:) = 0.e0 
     
    238232      ! ----------------- 
    239233       
    240       qt  (:,:) = fnsolar(:,:) + fsolar(:,:)     ! non solar heat flux + solar flux 
     234      qns (:,:) = fnsolar(:,:)                    ! non solar heat flux 
    241235      qsr (:,:) = fsolar(:,:)                     ! solar flux 
    242236       
     
    261255         DO ji = 1, fs_jpim1   ! vertor opt. 
    262256            ztxy        = freezn(ji,jj)             ! ice/ocean indicator at T-points 
    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. ) 
     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. ) 
    271265       
    272266      ! Re-initialization of fluxes 
Note: See TracChangeset for help on using the changeset viewer.