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 5770 for branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2015-10-01T14:48:08+02:00 (9 years ago)
Author:
gm
Message:

#1593: LDF-ADV, step II.2: phasing the improvements/simplifications of advective tracer trend (see wiki page)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/OPA_SRC/step.F90

    r5758 r5770  
    109109      IF( lk_bdy     )   CALL bdy_dta ( kstp, time_offset=+1 )   ! update dynamic & tracer data at open boundaries 
    110110                         CALL sbc     ( kstp )                   ! Sea Boundary Condition (including sea-ice) 
    111 CALL FLUSH    ( numout ) 
     111 
    112112      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    113113      ! Update stochastic parameters and random T/S fluctuations 
    114114      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    115115                         CALL sto_par( kstp )          ! Stochastic parameters 
    116 CALL FLUSH    ( numout ) 
    117116 
    118117      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    124123                         CALL bn2    ( tsb, rab_b, rn2b ) ! before Brunt-Vaisala frequency 
    125124                         CALL bn2    ( tsn, rab_n, rn2  ) ! now    Brunt-Vaisala frequency 
    126 CALL FLUSH    ( numout ) 
     125 
    127126      ! 
    128127      !  VERTICAL PHYSICS 
     
    137136         avmv(:,:,:) = rn_avm0 * wvmask(:,:,:) 
    138137      ENDIF 
    139 CALL FLUSH    ( numout ) 
     138 
    140139      IF( ln_rnf_mouth ) THEN                         ! increase diffusivity at rivers mouths 
    141140         DO jk = 2, nkrnf   ;   avt(:,:,jk) = avt(:,:,jk) + 2._wp * rn_avt_rnf * rnfmsk(:,:) * tmask(:,:,jk)   ;   END DO 
     
    152151      IF( lrst_oce .AND. lk_zdftke )   CALL tke_rst( kstp, 'WRITE' ) 
    153152      IF( lrst_oce .AND. lk_zdfgls )   CALL gls_rst( kstp, 'WRITE' ) 
    154 CALL FLUSH    ( numout ) 
    155153      ! 
    156154      !  LATERAL  PHYSICS 
     
    179177      !                                               ! eddy diffusivity coeff. and/or eiv coeff. 
    180178      IF( l_ldftra_time .OR. l_ldfeiv_time )   CALL ldf_tra( kstp )  
    181 write(*,*) 'after ldf_slp' 
    182 CALL FLUSH    ( numout ) 
    183179 
    184180      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    188184      IF( lk_vvl     )   CALL dom_vvl_sf_nxt( kstp )  ! after vertical scale factors  
    189185                         CALL wzv           ( kstp )  ! now cross-level velocity  
    190 write(*,*) 'after wzv' 
    191 CALL FLUSH    ( numout ) 
    192186 
    193187      IF( lk_dynspg_ts ) THEN  
     
    231225                                  CALL wzv           ( kstp )  ! now cross-level velocity  
    232226      ENDIF 
    233 write(*,*) 'after wzv 2' 
    234 CALL FLUSH    ( numout ) 
    235227 
    236228      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    253245                         CALL trc_stp( kstp )         ! time-stepping 
    254246#endif 
    255 write(*,*) 'end dyn ' 
    256 CALL FLUSH    ( numout ) 
    257247 
    258248      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    270260      IF( lk_bdy         )   CALL bdy_tra_dmp( kstp )       ! bdy damping trends 
    271261                             CALL tra_adv    ( kstp )       ! horizontal & vertical advection 
    272 write(*,*) 'before tra_ldf' 
    273 CALL FLUSH    ( numout ) 
    274262                             CALL tra_ldf    ( kstp )       ! lateral mixing 
    275 write(*,*) 'after tra_ldf' 
    276 CALL FLUSH    ( numout ) 
    277263 
    278264!!gm : why CALL to dia_ptr has been moved here??? (use trends info?) 
     
    316302                             CALL tra_nxt( kstp )                ! tracer fields at next time step 
    317303      ENDIF 
    318 write(*,*) 'after tra_nxt' 
    319 CALL FLUSH    ( numout ) 
    320304 
    321305      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    360344      IF( lk_vvl           )   CALL dom_vvl_sf_swp( kstp )  ! swap of vertical scale factors 
    361345      ! 
    362 write(*,*) 'after dom_vvl' 
    363 CALL FLUSH    ( numout ) 
    364  
    365346 
    366347!!gm : This does not only concern the dynamics ==>>> add a new title 
Note: See TracChangeset for help on using the changeset viewer.