From 0ceef3e7e31cda9bbe6ef7db104ff79c1480f95c Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Sun, 1 Dec 2024 12:47:08 -0500 Subject: [PATCH] rename Opacity_dir -> OPACITY_DIR --- Make.Microphysics_extern | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Make.Microphysics_extern b/Make.Microphysics_extern index 60327aebc..08dc313db 100644 --- a/Make.Microphysics_extern +++ b/Make.Microphysics_extern @@ -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