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

Ignore:
Timestamp:
2015-06-09T09:35:52+02:00 (9 years ago)
Author:
smasson
Message:

dev_r5218_CNRS17_coupling: merge with trunk rev 5381

File:
1 edited

Legend:

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

    r5220 r5382  
    107107 
    108108      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     109      ! Update stochastic parameters and random T/S fluctuations 
     110      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     111                        CALL sto_par( kstp )          ! Stochastic parameters 
     112 
     113      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    109114      ! Ocean physics update                (ua, va, tsa used as workspace) 
    110115      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     
    146151      ! 
    147152      IF( lk_ldfslp ) THEN                            ! slope of lateral mixing 
     153         IF(ln_sto_eos ) CALL sto_pts( tsn )          ! Random T/S fluctuations 
    148154                         CALL eos( tsb, rhd, gdept_0(:,:,:) )               ! before in situ density 
    149155         IF( ln_zps .AND. .NOT. ln_isfcav)                               & 
     
    181187          ! Note that the computation of vertical velocity above, hence "after" sea level 
    182188          ! is necessary to compute momentum advection for the rhs of barotropic loop: 
     189            IF(ln_sto_eos ) CALL sto_pts( tsn )                             ! Random T/S fluctuations 
    183190                            CALL eos    ( tsn, rhd, rhop, fsdept_n(:,:,:) ) ! now in situ density for hpg computation 
    184191            IF( ln_zps .AND. .NOT. ln_isfcav)                               & 
     
    262269         IF( ln_zdfnpc   )   CALL tra_npc( kstp )                ! update after fields by non-penetrative convection 
    263270                             CALL tra_nxt( kstp )                ! tracer fields at next time step 
     271            IF( ln_sto_eos ) CALL sto_pts( tsn )                 ! Random T/S fluctuations 
    264272                             CALL eos    ( tsa, rhd, rhop, fsdept_n(:,:,:) )  ! Time-filtered in situ density for hpg computation 
    265273            IF( ln_zps .AND. .NOT. ln_isfcav)                                & 
     
    272280      ELSE                                                  ! centered hpg  (eos then time stepping) 
    273281         IF ( .NOT. lk_dynspg_ts ) THEN                     ! eos already called in time-split case 
     282            IF( ln_sto_eos ) CALL sto_pts( tsn )    ! Random T/S fluctuations 
    274283                             CALL eos    ( tsn, rhd, rhop, fsdept_n(:,:,:) )  ! now in situ density for hpg computation 
    275284         IF( ln_zps .AND. .NOT. ln_isfcav)                                   & 
Note: See TracChangeset for help on using the changeset viewer.