Ignore:
Timestamp:
Oct 22, 2024, 11:55:35 AM (6 hours ago)
Author:
abarral
Message:

Wrap uses of cpp key CPP_PHYS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3dmem/gcm.F90

    r4996 r5250  
    2020  USE control_mod
    2121
    22 #ifdef CPP_PHYS
    2322  USE iniphysiq_mod, ONLY: iniphysiq
    24 #endif
    2523  USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad
    2624  USE logic_mod ! all of it, because of copyin clause when calling leapfrog
     
    2927                       dt,hour_ini,itaufin
    3028  USE mod_xios_dyn3dmem, ONLY: xios_dyn3dmem_init
     29  USE lmdz_cppkeys_wrapper, ONLY: CPPKEY_PHYS
     30
    3131
    3232  IMPLICIT NONE
     
    415415  IF ((iflag_phys==1).or.(iflag_phys>=100)) THEN
    416416     ! Physics:
    417 #ifdef CPP_PHYS
     417IF (CPPKEY_PHYS) THEN
    418418     CALL iniphysiq(iim,jjm,llm, &
    419419          distrib_phys(mpi_rank),comm_lmdz, &
     
    421421          rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, &
    422422          iflag_phys)
    423 #endif
     423END IF
    424424  ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100))
    425425
Note: See TracChangeset for help on using the changeset viewer.