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 3116 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90 – NEMO

Ignore:
Timestamp:
2011-11-15T21:55:40+01:00 (13 years ago)
Author:
cetlod
Message:

dev_NEMO_MERGE_2011: add in changes dev_NOC_UKMO_MERGE developments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90

    r2977 r3116  
    3636   USE obc_oce 
    3737   USE obctra          ! open boundary condition (obc_tra routine) 
    38    USE bdy_par         ! Unstructured open boundary condition (bdy_tra_frs routine) 
    39    USE bdytra          ! Unstructured open boundary condition (bdy_tra_frs routine) 
     38   USE bdy_oce 
     39   USE bdytra          ! open boundary condition (bdy_tra routine) 
    4040   USE in_out_manager  ! I/O manager 
    4141   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    4242   USE prtctl          ! Print control 
    4343   USE traqsr          ! penetrative solar radiation (needed for nksr) 
    44    USE obc_oce  
    4544#if defined key_agrif 
    4645   USE agrif_opa_update 
     
    8079      !!              - Apply lateral boundary conditions on (ta,sa)  
    8180      !!             at the local domain   boundaries through lbc_lnk call,  
    82       !!             at the radiative open boundaries (lk_obc=T),  
    83       !!             at the relaxed   open boundaries (lk_bdy=T), and 
     81      !!             at the one-way open boundaries (lk_obc=T),  
    8482      !!             at the AGRIF zoom     boundaries (lk_agrif=T) 
    8583      !! 
     
    114112#endif 
    115113#if defined key_bdy  
    116       IF( lk_bdy )   CALL bdy_tra_frs( kt )  ! BDY open boundaries 
     114      IF( lk_bdy )   CALL bdy_tra( kt )  ! BDY open boundaries 
    117115#endif 
    118116#if defined key_agrif 
     
    139137      ELSE                                            ! Leap-Frog + Asselin filter time stepping 
    140138         ! 
    141          IF( lk_vvl )  THEN   ;   CALL tra_nxt_vvl( kt, 'TRA', tsb, tsn, tsa, jpts )  ! variable volume level (vvl)      
    142          ELSE                 ;   CALL tra_nxt_fix( kt, 'TRA', tsb, tsn, tsa, jpts )  ! fixed    volume level  
     139         IF( lk_vvl )  THEN   ;   CALL tra_nxt_vvl( kt, nit000, 'TRA', tsb, tsn, tsa, jpts )  ! variable volume level (vvl)      
     140         ELSE                 ;   CALL tra_nxt_fix( kt, nit000, 'TRA', tsb, tsn, tsa, jpts )  ! fixed    volume level  
    143141         ENDIF 
    144142      ENDIF  
     
    168166 
    169167 
    170    SUBROUTINE tra_nxt_fix( kt, cdtype, ptb, ptn, pta, kjpt ) 
     168   SUBROUTINE tra_nxt_fix( kt, kit000, cdtype, ptb, ptn, pta, kjpt ) 
    171169      !!---------------------------------------------------------------------- 
    172170      !!                   ***  ROUTINE tra_nxt_fix  *** 
     
    192190      !!---------------------------------------------------------------------- 
    193191      INTEGER         , INTENT(in   )                               ::   kt       ! ocean time-step index 
     192      INTEGER         , INTENT(in   )                               ::   kit000   ! first time step index 
    194193      CHARACTER(len=3), INTENT(in   )                               ::   cdtype   ! =TRA or TRC (tracer indicator) 
    195194      INTEGER         , INTENT(in   )                               ::   kjpt     ! number of tracers 
     
    203202      !!---------------------------------------------------------------------- 
    204203 
    205       IF( kt == nit000 )  THEN 
     204      IF( kt == kit000 )  THEN 
    206205         IF(lwp) WRITE(numout,*) 
    207          IF(lwp) WRITE(numout,*) 'tra_nxt_fix : time stepping' 
     206         IF(lwp) WRITE(numout,*) 'tra_nxt_fix : time stepping', cdtype 
    208207         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 
    209208      ENDIF 
     
    234233 
    235234 
    236    SUBROUTINE tra_nxt_vvl( kt, cdtype, ptb, ptn, pta, kjpt ) 
     235   SUBROUTINE tra_nxt_vvl( kt, kit000, cdtype, ptb, ptn, pta, kjpt ) 
    237236      !!---------------------------------------------------------------------- 
    238237      !!                   ***  ROUTINE tra_nxt_vvl  *** 
     
    259258      !!---------------------------------------------------------------------- 
    260259      INTEGER         , INTENT(in   )                               ::   kt       ! ocean time-step index 
     260      INTEGER         , INTENT(in   )                               ::   kit000   ! first time step index 
    261261      CHARACTER(len=3), INTENT(in   )                               ::   cdtype   ! =TRA or TRC (tracer indicator) 
    262262      INTEGER         , INTENT(in   )                               ::   kjpt     ! number of tracers 
     
    271271      !!---------------------------------------------------------------------- 
    272272 
    273       IF( kt == nit000 ) THEN 
     273      IF( kt == kit000 ) THEN 
    274274         IF(lwp) WRITE(numout,*) 
    275          IF(lwp) WRITE(numout,*) 'tra_nxt_vvl : time stepping' 
     275         IF(lwp) WRITE(numout,*) 'tra_nxt_vvl : time stepping', cdtype 
    276276         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 
    277277      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.