Skip to content

Commit

Permalink
Merge pull request #547 from climbfuji/remove_ipd_step3_and_5
Browse files Browse the repository at this point in the history
NoahMP: add #define CCPP to support removal of IPD
  • Loading branch information
climbfuji authored Jan 14, 2021
2 parents e19fe2a + 06c1c1f commit 143d7f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ set(TYPEDEFS $ENV{CCPP_TYPEDEFS})
if(TYPEDEFS)
message(STATUS "Got CCPP TYPEDEFS from environment variable: ${TYPEDEFS}")
else(TYPEDEFS)
include(./CCPP_TYPEDEFS.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/CCPP_TYPEDEFS.cmake)
message(STATUS "Got CCPP TYPEDEFS from cmakefile include file: ${TYPEDEFS}")
endif(TYPEDEFS)

Expand All @@ -88,7 +88,7 @@ set(SCHEMES $ENV{CCPP_SCHEMES})
if(SCHEMES)
message(STATUS "Got CCPP SCHEMES from environment variable: ${SCHEMES}")
else(SCHEMES)
include(./CCPP_SCHEMES.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/CCPP_SCHEMES.cmake)
message(STATUS "Got CCPP SCHEMES from cmakefile include file: ${SCHEMES}")
endif(SCHEMES)

Expand All @@ -97,7 +97,7 @@ set(CAPS $ENV{CCPP_CAPS})
if(CAPS)
message(STATUS "Got CCPP CAPS from environment variable: ${CAPS}")
else(CAPS)
include(./CCPP_CAPS.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/CCPP_CAPS.cmake)
message(STATUS "Got CCPP CAPS from cmakefile include file: ${CAPS}")
endif(CAPS)

Expand Down
1 change: 1 addition & 0 deletions physics/module_sf_noahmp_glacier.f90
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define CCPP
!> \file module_sf_noahmp_glacier.f90
!! This file contains the NoahMP Glacier scheme.

Expand Down
3 changes: 2 additions & 1 deletion physics/module_sf_noahmplsm.f90
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#define CCPP
!> \file module_sf_noahmplsm.f90
!! This file contains the NoahMP land surface model.

!>\ingroup NoahMP_LSM
module module_sf_noahmplsm
#ifndef CCPP
#ifndef CCPP
use module_wrf_utl
#endif

Expand Down
1 change: 1 addition & 0 deletions physics/sfc_noahmp_drv.f
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#define CCPP
!> \file sfc_noahmp_drv.f
!! This file contains the NoahMP land surface scheme driver.

Expand Down

0 comments on commit 143d7f0

Please sign in to comment.