From ed31ca312e908febb38368dfd275de555e73bd4a Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Tue, 24 Sep 2024 09:35:07 -0700 Subject: [PATCH] add assertion --- src/setup/init.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/setup/init.cpp b/src/setup/init.cpp index 295b6ba3..6878c847 100644 --- a/src/setup/init.cpp +++ b/src/setup/init.cpp @@ -208,6 +208,10 @@ void incflo::ReadParameters () #ifdef INCFLO_USE_PARTICLES readTracerParticlesParams(); #endif + + if (m_use_cc_proj && max_level > 0) { + amrex::Abort("Can't yet do multilevel with cell-centered projection"); + } } void incflo::ReadIOParameters()