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 15561 for NEMO/branches – NEMO

Changeset 15561 for NEMO/branches


Ignore:
Timestamp:
2021-11-30T14:25:02+01:00 (3 years ago)
Author:
techene
Message:

#2605 #2715 debug on going trcrad modif to be revised

Location:
NEMO/branches/2021/dev_r14318_RK3_stage1/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/stprk3_stg.F90

    r15532 r15561  
    245245            END DO 
    246246            ! 
     247!!st need a lnc lkn at stage 1 & 2 otherwise tr@Kmm will not be usable in trc_adv  
     248            CALL lbc_lnk( 'stprk3_stg', tr(:,:,:,:,Kaa), 'T', 1._wp )    
     249 
    247250         ENDIF 
    248251         !                 !---------------! 
     
    275278!===>>>>>> Modify tra_adv_...  routines so that Krhs to zero useless 
    276279      DO jn = 1, jpts 
    277          DO_3D( 0, 0, 0, 0, 1, jpkm1 ) 
    278             ts(ji,jj,jk,jn,Krhs) = 0._wp                                    ! set tracer trends to zero 
    279          END_3D 
     280!!st does not work due to lbc_lnk north fold : need to be merged with the trunk LBC pb changes for the namelist  
     281!!         DO_3D( 0, 0, 0, 0, 1, jpkm1 ) 
     282!!            ts(ji,jj,jk,jn,Krhs) = 0._wp                                    ! set tracer trends to zero 
     283!!         END_3D 
     284         ts(:,:,:,jn,Krhs) = 0._wp 
    280285      END DO 
    281286 
  • NEMO/branches/2021/dev_r14318_RK3_stage1/src/TOP/TRP/trcrad.F90

    r13324 r15561  
    149149     zs2rdt = 1. / ( 2. * rn_Dt ) 
    150150     ! 
     151#if ! defined key_RK3 
    151152     DO jt = 1,2  ! Loop over time indices since exactly the same fix is applied to "now" and "after" fields 
    152153        IF( jt == 1 ) itime = Kbb 
    153154        IF( jt == 2 ) itime = Kmm 
     155#else 
     156     DO jt = 1,1  ! Loop over time indices since exactly the same fix is applied to "now" and "after" fields 
     157        IF( jt == 1 ) itime = Kmm 
     158#endif 
    154159 
    155160        IF( PRESENT( cpreserv )  ) THEN     !==  total tracer concentration is preserved  ==! 
Note: See TracChangeset for help on using the changeset viewer.