Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving Nest Functionality (#179) #7

Merged
merged 1 commit into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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