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 4572 – NEMO

Changeset 4572


Ignore:
Timestamp:
2014-03-26T09:18:40+01:00 (10 years ago)
Author:
pabouttier
Message:

Add missing div_cur_adj/tan in istate_tam module ; remove call to day_init in istate_tan, see Ticket #1269

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPATAM_SRC/DOM/istate_tam.F90

    r3611 r4572  
    3636   USE zpshde_tam 
    3737   USE eosbn2_tam 
     38   USE divcur_tam 
    3839   USE tstool_tam 
    3940   USE gridrandom 
     
    8283      END IF 
    8384      numror = 0                              ! define numror = 0 -> no restart file to read 
    84       CALL day_init()                         ! model calendar (using both namelist and restart infos) 
     85      !CALL day_init()                         ! model calendar (using both namelist and restart infos) 
    8586      !                                       ! Initialization of ocean to zero 
    8687      !     before fields       !       now fields 
     
    9091         tsb_tl   (:,:,:,:) = tsn_tl   (:,:,:,:) 
    9192         sshb_tl (  :,:) = sshn_tl (  :,:) 
    92          rotb_tl (:,:,:) = rotn_tl (:,:,:) 
    93          hdivb_tl(:,:,:) = hdivn_tl(:,:,:) 
     93         CALL div_cur_tan( nit000 - 1 ) 
    9494      END IF 
    9595      ! 
     
    116116      neuler=0 
    117117      IF( ln_zps .AND. .NOT. lk_c1d )   & 
    118             &             CALL zps_hde_adj( nit000, jpts, tsb, gtsu, gtsv, tsb_ad, rhd_ad, &  ! Partial steps: before Horizontal DErivative 
     118            &             CALL zps_hde_adj( nit000, jpts, tsb, tsb_ad, rhd_ad, &  ! Partial steps: before Horizontal DErivative 
    119119            &                                  gtsu_ad, gru_ad,               &  ! of t, s, rd at the bottom ocean level 
    120120            &                                  gtsv_ad, grv_ad ) 
     
    124124 
    125125      !     before fields       !       now fields 
     126      CALL div_cur_adj( nit000 - 1 ) 
    126127      un_ad   (:,:,:) = un_ad(:,:,:) + ub_ad (:,:,:) 
    127128      ub_ad   (:,:,:) = 0.0_wp 
     
    132133      sshn_ad   (:,:  ) = sshn_ad(:,:  ) + sshb_ad (:,:  ) 
    133134      sshb_ad   (:,:  ) = 0.0_wp 
    134       rotn_ad (:,:,:) = rotn_ad(:,:,:) + rotb_ad (:,:,:) 
    135       rotb_ad (:,:,:) = 0.0_wp 
    136       hdivn_ad(:,:,:) = hdivn_ad(:,:,:) + hdivb_ad (:,:,:) 
    137       hdivb_ad(:,:,:) = 0.0_wp 
    138135      ! 
    139136      rhd_ad  (:,:,:) = 0.0_wp 
Note: See TracChangeset for help on using the changeset viewer.