Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#7 from NOAA-GFDL/dev/emc
Browse files Browse the repository at this point in the history
Moving Nest Functionality  (NOAA-GFDL#179)
  • Loading branch information
JiliDong-NOAA committed Apr 11, 2022
2 parents 8264d5f + 0b04085 commit 32f4886
Show file tree
Hide file tree
Showing 18 changed files with 13,351 additions and 83 deletions.
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ endif()
option(OPENMP "Enable OpenMP threading" OFF)
option(32BIT "Enable single precision (r4) arithmetic in FV3 dycore" ON)
option(DEBUG "Enable compiler definition -DDEBUG" OFF)
option(MOVING_NEST "Enable compiler definition -DMOVING_NEST" OFF)
option(MULTI_GASES "Enable compiler definition -DMULTI_GASES" OFF)
option(USE_GFSL63 "Enable compiler definition -DUSE_GFSL63" OFF)
option(GFS_PHYS "Enable compiler definition -DGFS_PHYS" OFF)
Expand Down Expand Up @@ -56,6 +57,15 @@ if(NOT FMS_FOUND)
add_library(fms ALIAS FMS::fms_${kind})
endif()

list(APPEND moving_srcs
moving_nest/bounding_box.F90
moving_nest/fv_tracker.F90
moving_nest/fv_moving_nest.F90
moving_nest/fv_moving_nest_main.F90
moving_nest/fv_moving_nest_physics.F90
moving_nest/fv_moving_nest_types.F90
moving_nest/fv_moving_nest_utils.F90)

list(APPEND model_srcs
model/a2b_edge.F90
model/multi_gases.F90
Expand Down Expand Up @@ -109,6 +119,7 @@ list(APPEND driver_srcs
driver/fvGFS/atmosphere.F90)

list(APPEND fv3_srcs ${model_srcs}
${moving_srcs}
${tools_srcs})

list(APPEND fv3_defs SPMD
Expand Down Expand Up @@ -138,6 +149,10 @@ if(use_WRTCOMP)
${driver_srcs})
endif()

if(MOVING_NEST)
list(APPEND fv3_defs MOVING_NEST)
endif()

if(MULTI_GASES)
list(APPEND fv3_defs MULTI_GASES)
endif()
Expand Down
Loading

0 comments on commit 32f4886

Please sign in to comment.