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 12345 for NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/src/OCE/DIA/diadetide.F90 – NEMO

Ignore:
Timestamp:
2020-01-28T15:26:14+01:00 (4 years ago)
Author:
acc
Message:

Branch dev_r12072_MERGE_OPTION2_2019. Fixed ticket #2372. Changes to enable compilation without key_iomput

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/src/OCE/DIA/diadetide.F90

    r12184 r12345  
    1212   USE phycst         , ONLY :   rpi 
    1313   USE tide_mod 
     14#if defined key_iomput 
    1415   USE xios 
     16#endif 
    1517 
    1618   IMPLICIT NONE 
     
    4446      TYPE(tide_harmonic), DIMENSION(:), POINTER ::   stideconst 
    4547 
     48      lk_diadetide = .FALSE. 
     49#if defined key_iomput 
    4650      ! Enquire detiding activation state (test for presence of detiding-related 
    4751      ! weights field and output file group) 
    4852      IF ( xios_is_valid_field( "diadetide_weight" ).AND.xios_is_valid_filegroup( "diadetide_files" ).AND.ln_tide ) THEN 
    4953         lk_diadetide = .TRUE. 
    50       ELSE 
    51          lk_diadetide = .FALSE. 
    5254      END IF 
     55#endif 
    5356 
    5457      IF (lwp) THEN 
Note: See TracChangeset for help on using the changeset viewer.