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 11099 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/TOP – NEMO

Ignore:
Timestamp:
2019-06-11T15:59:58+02:00 (5 years ago)
Author:
davestorkey
Message:

dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap : Updates and bug fixes. This version still doesn't pass all SETTE tests.

Location:
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/TOP
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/TOP/PISCES/SED/trcdmp_sed.F90

    r10975 r11099  
    149149   !!---------------------------------------------------------------------- 
    150150CONTAINS 
    151    SUBROUTINE trc_dmp_sed( kt )        ! Empty routine 
     151   SUBROUTINE trc_dmp_sed( kt, Kbb, Kmm, Krhs )   ! Empty routine 
    152152      INTEGER, INTENT(in) :: kt 
     153      INTEGER, INTENT(in) :: Kbb, Kmm, Krhs 
    153154      WRITE(*,*) 'trc_dmp_sed: You should not have seen this print! error?', kt 
    154155   END SUBROUTINE trc_dmp_sed 
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/TOP/TRP/trcatf.F90

    r11057 r11099  
    3030   USE trd_oce 
    3131   USE trdtra 
    32    USE tranxt 
     32   USE traatf 
    3333   USE bdy_oce   , ONLY: ln_bdy 
    3434   USE trcbdy          ! BDY open boundaries 
     
    143143      ENDIF 
    144144      !                                ! Leap-Frog + Asselin filter time stepping 
    145       IF( .NOT.( (neuler == 0 .AND. kt == nittrc000) .OR. ln_top_euler ) ) THEN    ! Only time filter if not an Euler timestep 
     145      IF( (neuler == 0 .AND. kt == nittrc000) .OR. ln_top_euler ) THEN    ! Euler time-stepping  
     146         ! 
     147         IF (l_trdtrc .AND. .NOT. ln_linssh ) THEN   ! Zero Asselin filter contribution must be explicitly written out since for vvl 
     148            !                                        ! Asselin filter is output by tra_nxt_vvl that is not called on this time step 
     149            ztrdt(:,:,:,:) = 0._wp             
     150            DO jn = 1, jptra 
     151               CALL trd_tra( kt, Kmm, Kaa, 'TRC', jn, jptra_atf, ztrdt(:,:,:,jn) ) 
     152            ENDDO 
     153         END IF 
     154         ! 
     155      ELSE      
    146156         IF( .NOT. l_offline ) THEN ! Leap-Frog + Asselin filter time stepping 
    147             IF( ln_linssh ) THEN   ;   CALL tra_nxt_fix( kt, Kbb, Kmm, Kaa, nittrc000,         'TRC', ptr, jptra )                     !     linear ssh 
    148             ELSE                   ;   CALL tra_nxt_vvl( kt, Kbb, Kmm, Kaa, nittrc000, rdttrc, 'TRC', ptr, sbc_trc, sbc_trc_b, jptra ) ! non-linear ssh 
     157            IF( ln_linssh ) THEN   ;   CALL tra_atf_fix( kt, Kbb, Kmm, Kaa, nittrc000,         'TRC', ptr, jptra )                     !     linear ssh 
     158            ELSE                   ;   CALL tra_atf_vvl( kt, Kbb, Kmm, Kaa, nittrc000, rdttrc, 'TRC', ptr, sbc_trc, sbc_trc_b, jptra ) ! non-linear ssh 
    149159            ENDIF 
    150160         ELSE 
    151                                        CALL trc_atf_off( kt, Kbb, Kmm, Kaa )       ! offline  
     161                                       CALL trc_atf_off( kt, Kbb, Kmm, Kaa, ptr )       ! offline  
    152162         ENDIF 
    153163         ! 
     
    260270   !!   Default option                                         Empty module 
    261271   !!---------------------------------------------------------------------- 
     272   USE par_oce 
     273   USE par_trc 
    262274CONTAINS 
    263275   SUBROUTINE trc_atf( kt, Kbb, Kmm, Kaa, ptr )   
    264       INTEGER                                   , INTENT(in) :: kt 
    265       INTEGER                                   , INTENT(in) :: Kbb, Kmm, Kaa ! time level indices 
    266       REAL(wp), DIMENSION(jpi,jpj,jpk,jptra,jpt), INTENT(inout) :: ptr            ! passive tracers 
     276      INTEGER                                   , INTENT(in)    :: kt 
     277      INTEGER,                                    INTENT(in   ) :: Kbb, Kmm, Kaa ! time level indices 
     278      REAL(wp), DIMENSION(jpi,jpj,jpk,jptra,jpt), INTENT(inout) :: ptr           ! passive tracers and RHS of tracer equation 
    267279      WRITE(*,*) 'trc_atf: You should not have seen this print! error?', kt 
    268280   END SUBROUTINE trc_atf 
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps_rewrite_time_filterswap/src/TOP/TRP/trcsbc.F90

    r10985 r11099  
    197197   !!   Dummy module :                      NO passive tracer 
    198198   !!---------------------------------------------------------------------- 
     199   USE par_oce 
     200   USE par_trc 
    199201CONTAINS 
    200202   SUBROUTINE trc_sbc ( kt, Kmm, ptr, Krhs )      ! Empty routine 
Note: See TracChangeset for help on using the changeset viewer.