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 14255 for NEMO/trunk/src/OFF/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2021-01-04T12:35:00+01:00 (3 years ago)
Author:
cetlod
Message:

trunk : consolidation of OFFLINE with key_qco ; use the ORCA2_OFF_TRC configuration for that purpose

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OFF/nemogcm.F90

    r14239 r14255  
    138138         IF( istp /= nit000 )   CALL day        ( istp )         ! Calendar (day was already called at nit000 in day_init) 
    139139                                CALL iom_setkt  ( istp - nit000 + 1, cxios_context )   ! say to iom that we are at time step kstp 
    140 #if defined key_sed_off 
    141                                 CALL dta_dyn_sed( istp,      Nnn      )       ! Interpolation of the dynamical fields 
    142 #else 
     140#if ! defined key_sed_off 
    143141                                CALL dta_dyn    ( istp, Nbb, Nnn, Naa )       ! Interpolation of the dynamical fields 
    144 #endif 
    145 #if ! defined key_sed_off 
    146142         IF( .NOT.ln_linssh ) THEN 
    147143                                CALL dta_dyn_atf( istp, Nbb, Nnn, Naa )       ! time filter of sea  surface height and vertical scale factors 
     
    151147         ENDIF 
    152148                                CALL trc_stp    ( istp, Nbb, Nnn, Nrhs, Naa ) ! time-stepping 
    153 # if defined key_qco 
    154                                 !r3t(:,:,Nnn) = r3t_f(:,:)                     ! update ssh to h0 ratio 
    155                                 !r3u(:,:,Nnn) = r3u_f(:,:) 
    156                                 !r3v(:,:,Nnn) = r3v_f(:,:) 
    157 # endif 
    158 #endif 
    159149         ! Swap time levels 
    160150         Nrhs = Nbb 
    161          Nbb = Nnn 
    162          Nnn = Naa 
    163          Naa = Nrhs 
     151         Nbb  = Nnn 
     152         Nnn  = Naa 
     153         Naa  = Nrhs 
    164154         ! 
    165155#if ! defined key_qco 
    166 # if ! defined key_sed_off 
    167156         IF( .NOT.ln_linssh )   CALL dta_dyn_sf_interp( istp, Nnn )  ! calculate now grid parameters 
    168 # endif 
    169 #endif          
     157#endif   
     158 
     159#else 
     160                                CALL dta_dyn_sed( istp,      Nnn      )       ! Interpolation of the dynamical fields 
     161 
     162#endif 
    170163         CALL stp_ctl    ( istp )             ! Time loop: control and print 
    171164         istp = istp + 1 
Note: See TracChangeset for help on using the changeset viewer.