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 14072 for NEMO/trunk/src/OCE/C1D/step_c1d.F90 – NEMO

Ignore:
Timestamp:
2020-12-04T08:48:38+01:00 (3 years ago)
Author:
laurent
Message:

Merging branch "2020/dev_r13648_ASINTER-04_laurent_bulk_ice", ticket #2369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/C1D/step_c1d.F90

    r14010 r14072  
    1111   !!---------------------------------------------------------------------- 
    1212   !!   'key_c1d'                                       1D Configuration 
    13    !!----------------------------------------------------------------------   
     13   !!---------------------------------------------------------------------- 
    1414   !!   stp_c1d        : NEMO system time-stepping in c1d case 
    1515   !!---------------------------------------------------------------------- 
    16    USE step_oce        ! time stepping definition modules  
     16   USE step_oce        ! time stepping definition modules 
    1717   USE step, ONLY : Nbb, Nnn, Naa, Nrhs ! time level indices 
    1818#if defined key_top 
     
    2222   USE dynatf          ! time filtering                   (dyn_atf routine) 
    2323   USE dyndmp          ! U & V momentum damping           (dyn_dmp routine) 
    24    USE restart         ! restart  
     24   USE restart         ! restart 
    2525 
    2626   IMPLICIT NONE 
     
    3939      !!---------------------------------------------------------------------- 
    4040      !!                     ***  ROUTINE stp_c1d  *** 
    41       !!                       
     41      !! 
    4242      !! ** Purpose :  - Time stepping of SBC including sea ice (dynamic and thermodynamic eqs.) 
    4343      !!               - Time stepping of OPA (momentum and active tracer eqs.) 
    4444      !!               - Time stepping of TOP (passive tracer eqs.) 
    45       !!  
    46       !! ** Method  : -1- Update forcings and data   
    47       !!              -2- Update vertical ocean physics  
    48       !!              -3- Compute the t and s trends  
    49       !!              -4- Update t and s  
     45      !! 
     46      !! ** Method  : -1- Update forcings and data 
     47      !!              -2- Update vertical ocean physics 
     48      !!              -3- Compute the t and s trends 
     49      !!              -4- Update t and s 
    5050      !!              -5- Compute the momentum trends 
    5151      !!              -6- Update the horizontal velocity 
     
    6767 
    6868      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    69       ! Ocean physics update         
     69      ! Ocean physics update 
    7070      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    7171                         CALL eos_rab( ts(:,:,:,:,Nbb), rab_b, Nnn )  ! before local thermal/haline expension ratio at T-points 
     
    7373                         CALL bn2( ts(:,:,:,:,Nbb), rab_b, rn2b, Nnn ) ! before Brunt-Vaisala frequency 
    7474                         CALL bn2( ts(:,:,:,:,Nnn), rab_n, rn2 , Nnn ) ! now    Brunt-Vaisala frequency 
    75        
     75 
    7676      !  VERTICAL PHYSICS 
    7777                         CALL zdf_phy( kstp, Nbb, Nnn, Nrhs  )    ! vertical physics update (bfr, avt, avs, avm + MLD) 
    7878 
    7979      IF(.NOT.ln_linssh )   CALL ssh_nxt       ( kstp, Nbb, Nnn, ssh, Naa )  ! after ssh (includes call to div_hor) 
    80       IF(.NOT.ln_linssh )   CALL dom_vvl_sf_nxt( kstp, Nbb, Nnn,      Naa )  ! after vertical scale factors  
     80      IF(.NOT.ln_linssh )   CALL dom_vvl_sf_nxt( kstp, Nbb, Nnn,      Naa )  ! after vertical scale factors 
    8181 
    82       IF(.NOT.ln_linssh )   CALL wzv           ( kstp, Nbb, Nnn, Naa, ww )  ! now cross-level velocity  
     82      IF(.NOT.ln_linssh )   CALL wzv           ( kstp, Nbb, Nnn, Naa, ww )  ! now cross-level velocity 
    8383      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    84       ! diagnostics and outputs        
     84      ! diagnostics and outputs 
    8585      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    8686                         CALL dia_wri( kstp, Nnn )  ! ocean model: outputs 
     
    123123                        CALL dyn_atf    ( kstp, Nbb, Nnn, Naa , uu, vv, e3t, e3u, e3v )  ! time filtering of "now" fields 
    124124      IF(.NOT.ln_linssh)CALL ssh_atf    ( kstp, Nbb, Nnn, Naa , ssh )                    ! time filtering of "now" sea surface height 
    125       IF( kstp == nit000 .AND. ln_linssh) THEN  
    126          ssh(:,:,Naa) = ssh(:,:,Nnn)  ! init ssh after in ln_linssh case  
     125      IF( kstp == nit000 .AND. ln_linssh) THEN 
     126         ssh(:,:,Naa) = ssh(:,:,Nnn)  ! init ssh after in ln_linssh case 
    127127      ENDIF 
    128128      ! 
Note: See TracChangeset for help on using the changeset viewer.