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 7485 for branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM – NEMO

Ignore:
Timestamp:
2016-12-12T09:33:37+01:00 (7 years ago)
Author:
cetlod
Message:

Remove CPP key key_offline and replace it with a logical l_offline

Location:
branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90

    r7421 r7485  
    2626   USE phycst         ! physical constants 
    2727   USE ioipsl  , ONLY :   ymds2ju      ! for calendar 
    28    USE trc_oce , ONLY :   lk_offline   ! offline flag 
     28   USE trc_oce , ONLY :   l_offline   ! offline flag 
    2929   ! 
    3030   USE in_out_manager ! I/O manager 
     
    8181      ndt05   = NINT( 0.5 * rdt  ) 
    8282 
    83       IF( .NOT. lk_offline )   CALL day_rst( nit000, 'READ' ) 
     83      IF( .NOT. l_offline )   CALL day_rst( nit000, 'READ' ) 
    8484 
    8585      ! set the calandar from ndastp (read in restart file and namelist) 
     
    273273      ENDIF 
    274274 
    275       IF( .NOT. lk_offline ) CALL rst_opn( kt )               ! Open the restart file if needed and control lrst_oce 
     275      IF( .NOT. l_offline ) CALL rst_opn( kt )               ! Open the restart file if needed and control lrst_oce 
    276276      IF( lrst_oce         ) CALL day_rst( kt, 'WRITE' )      ! write day restart information 
    277277      ! 
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM/depth_e3.F90

    r7421 r7485  
    126126      INTEGER  ::   jk           ! dummy loop indices 
    127127      !!---------------------------------------------------------------------- 
    128       ! 
    129       pdepw_1d(1) = 0.0_wp 
     128      ! 
     129      pdepw_1d(1) = 0.0_wp 
    130130      pdept_1d(1) = 0.5_wp * pe3w_1d(1) 
    131       DO jk = 2, jpk 
     131      DO jk = 2, jpk 
    132132         pdepw_1d(jk) = pdepw_1d(jk-1) + pe3t_1d(jk-1)  
    133133         pdept_1d(jk) = pdept_1d(jk-1) + pe3w_1d(jk  )  
     
    152152      INTEGER  ::   jk           ! dummy loop indices 
    153153      !!----------------------------------------------------------------------       
    154       ! 
    155       pdepw_3d(:,:,1) = 0.0_wp 
     154      ! 
     155      pdepw_3d(:,:,1) = 0.0_wp 
    156156      pdept_3d(:,:,1) = 0.5_wp * pe3w_3d(:,:,1) 
    157       DO jk = 2, jpk 
     157      DO jk = 2, jpk 
    158158         pdepw_3d(:,:,jk) = pdepw_3d(:,:,jk-1) + pe3t_3d(:,:,jk-1)  
    159159         pdept_3d(:,:,jk) = pdept_3d(:,:,jk-1) + pe3w_3d(:,:,jk  )  
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM/domain.F90

    r7421 r7485  
    4040   USE dyncor_c1d     ! 1D configuration: Coriolis term    (cor_c1d routine) 
    4141   ! 
     42   USE trc_oce , ONLY :   l_offline    ! passive tracers offline flag 
     43   ! 
    4244   USE in_out_manager ! I/O manager 
    4345   USE iom            ! I/O library 
     
    178180      ELSE                       != time varying : initialize before/now/after variables 
    179181         ! 
    180          IF( .NOT.lk_offline )  CALL dom_vvl_init  
     182         IF( .NOT.l_offline )  CALL dom_vvl_init  
    181183         ! 
    182184      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.