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 13375 for branches/UKMO/dev_1d_bugfixes_BoB/NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90 – NEMO

Ignore:
Timestamp:
2020-08-03T18:26:21+02:00 (4 years ago)
Author:
jwhile
Message:

Updates for 1d running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_1d_bugfixes_BoB/NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90

    r10302 r13375  
    1010   !!---------------------------------------------------------------------- 
    1111   !!   'key_c1d'                                       1D Configuration 
    12    !!----------------------------------------------------------------------   
     12   !!---------------------------------------------------------------------- 
    1313   !!   stp_c1d        : NEMO system time-stepping in c1d case 
    1414   !!---------------------------------------------------------------------- 
    15    USE step_oce        ! time stepping definition modules  
     15   USE step_oce        ! time stepping definition modules 
    1616#if defined key_top 
    1717   USE trcstp          ! passive tracer time-stepping      (trc_stp routine) 
     
    2020   USE dynnxt_c1d      ! time-stepping                    (dyn_nxt routine) 
    2121   USE dyndmp          ! U & V momentum damping           (dyn_dmp routine) 
    22    USE restart         ! restart  
     22   USE restart         ! restart 
    2323 
    2424   IMPLICIT NONE 
     
    4040      !!---------------------------------------------------------------------- 
    4141      !!                     ***  ROUTINE stp_c1d  *** 
    42       !!                       
     42      !! 
    4343      !! ** Purpose :  - Time stepping of SBC including LIM (dynamic and thermodynamic eqs.) 
    4444      !!               - Time stepping of OPA (momentum and active tracer eqs.) 
    4545      !!               - Time stepping of TOP (passive tracer eqs.) 
    46       !!  
    47       !! ** Method  : -1- Update forcings and data   
    48       !!              -2- Update vertical ocean physics  
    49       !!              -3- Compute the t and s trends  
    50       !!              -4- Update t and s  
     46      !! 
     47      !! ** Method  : -1- Update forcings and data 
     48      !!              -2- Update vertical ocean physics 
     49      !!              -3- Compute the t and s trends 
     50      !!              -4- Update t and s 
    5151      !!              -5- Compute the momentum trends 
    5252      !!              -6- Update the horizontal velocity 
     
    7676                         CALL bn2( tsb, rab_b, rn2b ) ! before Brunt-Vaisala frequency 
    7777                         CALL bn2( tsn, rab_n, rn2  ) ! now    Brunt-Vaisala frequency 
    78       !  VERTICAL PHYSICS    
     78      !  VERTICAL PHYSICS 
    7979                         CALL zdf_bfr( kstp )         ! bottom friction 
    8080      !                                               ! Vertical eddy viscosity and diffusivity coefficients 
     
    9898      IF( lk_zdfddm .AND. .NOT. lk_zdfkpp )   & 
    9999         &               CALL zdf_ddm( kstp )         ! double diffusive mixing 
    100           
     100 
    101101                         CALL zdf_mxl( kstp )         ! mixed layer depth 
    102102 
     
    125125                        tsa(:,:,:,:) = 0._wp       ! set tracer trends to zero 
    126126 
     127      IF( lk_asminc .AND. ln_asmiau .AND.  ln_trainc )   & 
     128                        CALL tra_asm_inc( kstp )   ! apply tracer assimilation increment 
    127129                        CALL tra_sbc( kstp )       ! surface boundary condition 
    128130      IF( ln_traqsr )   CALL tra_qsr( kstp )       ! penetrative solar radiation qsr 
     
    141143                        ua(:,:,:) = 0._wp          ! set dynamics trends to zero 
    142144                        va(:,:,:) = 0._wp 
     145 
     146      IF( ln_bkgwri )   CALL asm_bkg_wri( kstp )     ! output background fields 
    143147 
    144148      IF( ln_dyndmp )   CALL dyn_dmp    ( kstp )   ! internal damping trends- momentum 
Note: See TracChangeset for help on using the changeset viewer.