Skip to content

Commit

Permalink
rename Opacity_dir -> OPACITY_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Dec 1, 2024
1 parent 161b785 commit 0ceef3e
Showing 1 changed file with 6 additions and 2 deletions.
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 compatability -- 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

0 comments on commit 0ceef3e

Please sign in to comment.