Ignore:
Timestamp:
Jul 20, 2024, 11:17:09 PM (4 months ago)
Author:
abarral
Message:

Move lmdz_netcdf_format.F90 -> lmdz_cppkeys_wrapper.F90 to handle other CPP keys
Replace all (except wrapper) use of CPP_PHYS by fortran logical
Refactor makelmdz_fcm (put blocks into functions, use modern bash)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/misc/lmdz_cppkeys_wrapper.F90

    r5090 r5091  
    77!      NC_DOUBLE -> nf90_format
    88!      CPP_PHYS  -> CPPKEY_PHYS
     9!      INCA      -> CPPKEY_INCA
    910! ---------------------------------------------
    1011
     
    1314  USE netcdf, ONLY: nf90_float, nf90_double
    1415  IMPLICIT NONE; PRIVATE
    15   PUBLIC nf90_format, CPPKEY_PHYS
     16  PUBLIC nf90_format, CPPKEY_PHYS, CPPKEY_INCA
    1617
    1718#ifdef NC_DOUBLE
     
    2728#endif
    2829
     30#ifdef INCA
     31  LOGICAL, PARAMETER :: CPPKEY_INCA = .TRUE.
     32#else
     33  LOGICAL, PARAMETER :: CPPKEY_INCA = .FALSE.
     34#endif
     35
    2936END MODULE lmdz_cppkeys_wrapper
Note: See TracChangeset for help on using the changeset viewer.