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

rename Opacity_dir -> OPACITY_DIR #1679

Merged
merged 2 commits into from
Dec 10, 2024
Merged
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
8 changes: 6 additions & 2 deletions Make.Microphysics_extern
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,18 @@ ifeq ($(USE_CONDUCTIVITY),TRUE)
EXTERN_CORE += $(CONDUCTIVITY_PATH)
endif

# backwards compatibility -- remove after 25.01
ifdef Opacity_dir
OPACITY_DIR=$(Opacity_dir)
endif

ifeq ($(USE_RAD), TRUE)
ifeq ($(Opacity_dir), null)
ifeq ($(OPACITY_DIR), null)
$(error The null opacity directory has been removed, please update to rad_power_law)
endif
EXTERN_CORE += $(MICROPHYSICS_HOME)/opacity

OPAC_PATH := $(MICROPHYSICS_HOME)/opacity/$(Opacity_dir)
OPAC_PATH := $(MICROPHYSICS_HOME)/opacity/$(OPACITY_DIR)
EXTERN_CORE += $(OPAC_PATH)
endif

Expand Down
Loading