From b47950eaa1baca3a5ea69842ab433ae7373bcba5 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Tue, 10 Dec 2024 15:45:15 -0500 Subject: [PATCH] rename Opacity_dir -> OPACITY_DIR (#1679) --- Make.Microphysics_extern | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Make.Microphysics_extern b/Make.Microphysics_extern index 60327aebc..17f45478c 100644 --- a/Make.Microphysics_extern +++ b/Make.Microphysics_extern @@ -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