Skip to content

Commit

Permalink
Some more reorganization to isolate the FV3 dycore coupling
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales authored and scrasmussen committed Feb 14, 2025
1 parent 02d342e commit 6637bad
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
42 changes: 21 additions & 21 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if (FV3)
if(INLINE_POST)
set(BUILD_POSTEXEC OFF)
add_subdirectory(upp)
set(POST_SRC io/post_nems_routines.F90 io/post_fv3.F90)
set(POST_SRC fv3/io/post_nems_routines.F90 fv3/io/post_fv3.F90)
list(APPEND _ufsatm_defs_private INLINE_POST)
endif()

Expand Down Expand Up @@ -116,13 +116,13 @@ if (FV3)
endif()

list(APPEND moving_nest_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
fv3/moving_nest/bounding_box.F90
fv3/moving_nest/fv_tracker.F90
fv3/moving_nest/fv_moving_nest.F90
fv3/moving_nest/fv_moving_nest_main.F90
fv3/moving_nest/fv_moving_nest_physics.F90
fv3/moving_nest/fv_moving_nest_types.F90
fv3/moving_nest/fv_moving_nest_utils.F90
)
else()
list(APPEND moving_nest_srcs "")
Expand All @@ -134,23 +134,23 @@ if (FV3)
fv3/fv3_cap.F90
fv3/module_fv3_config.F90
fv3/module_fcst_grid_comp.F90
stochastic_physics/stochastic_physics_wrapper.F90
fv3/stochastic_physics/stochastic_physics_wrapper.F90
cpl/module_block_data.F90
cpl/module_cplfields.F90
cpl/module_cap_cpl.F90
cpl/module_cplscalars.F90
io/fv3atm_common_io.F90
io/fv3atm_clm_lake_io.F90
io/fv3atm_rrfs_sd_io.F90
io/fv3atm_sfc_io.F90
io/fv3atm_oro_io.F90
io/fv3atm_history_io.F90
io/fv3atm_restart_io.F90
io/module_write_netcdf.F90
io/module_write_restart_netcdf.F90
io/module_fv3_io_def.F90
io/module_write_internal_state.F90
io/module_wrt_grid_comp.F90
fv3/io/fv3atm_common_io.F90
fv3/io/fv3atm_clm_lake_io.F90
fv3/io/fv3atm_rrfs_sd_io.F90
fv3/io/fv3atm_sfc_io.F90
fv3/io/fv3atm_oro_io.F90
fv3/io/fv3atm_history_io.F90
fv3/io/fv3atm_restart_io.F90
fv3/io/module_write_netcdf.F90
fv3/io/module_write_restart_netcdf.F90
fv3/io/module_fv3_io_def.F90
fv3/io/module_write_internal_state.F90
fv3/io/module_wrt_grid_comp.F90
${moving_nest_srcs}
${POST_SRC}
)
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions ccpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ set(PROJECT "CCPP-UFS")
if (FV3)
message(STATUS "Build CCPP interface to FV3 dynamical core")
set(CCPP_TARGET fv3ccpp)
set(CCPP_PREBUILD_CONFIG ../fv3/ccpp/config/ccpp_prebuild_config.py)
set(CCPP_PREBUILD_CONFIG config/ccpp_prebuild_config.py)
set(DYCORE_CCPP_SRCS
GFS_diagnostics.F90
GFS_restart.F90
GFS_init.F90
driver/GFS_diagnostics.F90
driver/GFS_restart.F90
driver/GFS_init.F90
CCPP_driver.F90
)
list(TRANSFORM DYCORE_CCPP_SRCS PREPEND ../ccpp/driver/)
#list(TRANSFORM DYCORE_CCPP_SRCS PREPEND ../ccpp/driver/)

# Add dycore-specific preprocessor flag (needed for some physics schemes)
add_definitions(-DFV3)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6637bad

Please sign in to comment.