Skip to content

Commit

Permalink
sync the MAESTROeX runtime parameter support up with Castro (#436)
Browse files Browse the repository at this point in the history
this also resolves a clang-tidy issue with defining the parameters
in .H instead of a .cpp file
  • Loading branch information
zingale authored Apr 4, 2024
1 parent bd393b7 commit b307ce6
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 146 deletions.
2 changes: 2 additions & 0 deletions Exec/Make.Maestro
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ AUTO_BUILD_SOURCES += $(MAESTROEX_AUTO_SOURCE_DIR)/maestro_params.H

CPP_PARAMETERS := $(TOP)/Source/param/_cpp_parameters

$(MAESTROEX_AUTO_SOURCE_DIR)/runtime_params.cpp: $(MAESTROEX_AUTO_SOURCE_DIR)/maestro_params.H

$(MAESTROEX_AUTO_SOURCE_DIR)/maestro_params.H: $(CPP_PARAMETERS)
@if [ ! -d $(MAESTROEX_AUTO_SOURCE_DIR) ]; then mkdir -p $(MAESTROEX_AUTO_SOURCE_DIR); fi
PYTHONPATH=$(MICROPHYSICS_HOME)/util/build_scripts $(TOP)/Source/param/parse_maestro_params.py -o $(MAESTROEX_AUTO_SOURCE_DIR) $(CPP_PARAMETERS)
Expand Down
2 changes: 1 addition & 1 deletion Source/Make.package
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CEXE_sources += MaestroVelPred.cpp
ifeq ($(USE_ROTATION), TRUE)
CEXE_sources += MaestroRotation.cpp
endif
CEXE_sources += runparams_defaults.cpp
CEXE_sources += runtime_params.cpp

CEXE_headers += BaseState.H
CEXE_headers += BaseStateGeometry.H
Expand Down
Loading

0 comments on commit b307ce6

Please sign in to comment.