From 7f7aa67e248fd967ed2cdd5b85cb60c20f94d193 Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Mon, 11 Mar 2024 15:25:14 -0700 Subject: [PATCH] allow FaceConservativeLinearInterpolater even if DIM == 1 --- Src/AmrCore/AMReX_Interpolater.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Src/AmrCore/AMReX_Interpolater.cpp b/Src/AmrCore/AMReX_Interpolater.cpp index ec036b05399..532730c06b1 100644 --- a/Src/AmrCore/AMReX_Interpolater.cpp +++ b/Src/AmrCore/AMReX_Interpolater.cpp @@ -410,7 +410,6 @@ void FaceLinear::interp_arr (Array const& crse, }); } -#if (AMREX_SPACEDIM > 1) Box FaceConservativeLinear::CoarseBox (const Box& fine, int ratio) { @@ -712,7 +711,6 @@ void FaceConservativeLinear::interp_arr (Array const }); }); } -#endif // AMREX_SPACEDIM > 1 Box CellBilinear::CoarseBox (const Box& fine, int ratio)