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 3166 for branches/2011/dev_NEMO_MERGE_2011 – NEMO

Ignore:
Timestamp:
2011-11-21T21:21:02+01:00 (12 years ago)
Author:
cetlod
Message:

Correct the timestep at which passive tracers are initialized with climatological data

Location:
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/TOP_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/TOP_SRC/trcini.F90

    r3153 r3166  
    109109      IF( ln_rsttr ) THEN 
    110110        ! 
    111         IF( lk_offline )  neuler = 1   ! Set time-step indicator at nittrc000 (leap-frog) 
     111        IF( lk_offline )  neuler = 1   ! Set time-step indicator at nit000 (leap-frog) 
    112112        CALL trc_rst_read              ! restart from a file 
    113113        ! 
    114114      ELSE 
    115115        IF( lk_offline )  THEN 
    116            neuler = 0                  ! Set time-step indicator at nittrc000 (euler) 
     116           neuler = 0                  ! Set time-step indicator at nit000 (euler) 
    117117           CALL day_init               ! set calendar 
    118118        ENDIF 
     
    123123            ENDIF 
    124124            ! 
    125             CALL trc_dta( nittrc000, ztrcdta )   ! read tracer data at nittrc000 
     125            CALL trc_dta( nit000, ztrcdta )   ! read tracer data at nit000 
    126126            ! 
    127127            DO jn = 1, jptra 
     
    141141       
    142142      IF( ln_zps .AND. .NOT. lk_c1d )   &              ! Partial steps: before horizontal gradient of passive 
    143         &    CALL zps_hde( nittrc000, jptra, trn, gtru, gtrv )       ! tracers at the bottom ocean level 
     143        &    CALL zps_hde( nit000, jptra, trn, gtru, gtrv )       ! tracers at the bottom ocean level 
    144144      !                                                              ! masked grid volume 
    145145      DO jk = 1, jpk 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/TOP_SRC/trcstp.F90

    r3153 r3166  
    8080         tra(:,:,:,:) = 0.e0 
    8181         ! 
    82                                    CALL trc_rst_opn( kt )       ! Open tracer restart file  
    83          IF( lk_iomput ) THEN  ;   CALL trc_wri    ( kt )       ! output of passive tracers with iom I/O manager 
    84          ELSE                  ;   CALL trc_dia    ( kt )       ! output of passive tracers with old I/O manager 
     82                                   CALL trc_rst_opn  ( kt )       ! Open tracer restart file  
     83         IF( lk_iomput ) THEN  ;   CALL trc_wri      ( kt )       ! output of passive tracers with iom I/O manager 
     84         ELSE                  ;   CALL trc_dia      ( kt )       ! output of passive tracers with old I/O manager 
    8585         ENDIF 
    86                                    CALL trc_sms( kt )           ! tracers: sinks and sources 
    87                                    CALL trc_trp( kt )           ! transport of passive tracers 
    88          IF( lrst_trc )            CALL trc_rst_wri( kt )       ! write tracer restart file 
    89          IF( lk_trdmld_trc  )      CALL trd_mld_trc( kt )       ! trends: Mixed-layer 
     86                                   CALL trc_sms      ( kt )       ! tracers: sinks and sources 
     87                                   CALL trc_trp      ( kt )       ! transport of passive tracers 
     88         IF( lrst_trc )            CALL trc_rst_wri  ( kt )       ! write tracer restart file 
     89         IF( lk_trdmld_trc  )      CALL trd_mld_trc  ( kt )       ! trends: Mixed-layer 
    9090         ! 
    91          IF( nn_dttrc /= 1   )     CALL trc_sub_reset( kt )  ! resetting physical variables when sub-stepping 
     91         IF( nn_dttrc /= 1   )     CALL trc_sub_reset( kt )       ! resetting physical variables when sub-stepping 
    9292         ! 
    9393      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.