aboutsummaryrefslogtreecommitdiff
path: root/Source/EmbeddedBoundary/WarpXInitEB.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2021-07-26 13:03:56 -0700
committerGravatar GitHub <noreply@github.com> 2021-07-26 13:03:56 -0700
commitd2ce56453dc4fc080af8e6746a8aa2ba7694146c (patch)
treecd7fe6c7e2bea8e5131736176e2e400334d1af4f /Source/EmbeddedBoundary/WarpXInitEB.cpp
parentb0bdabdea5ba2fe93507ab149e797f793d80b66b (diff)
downloadWarpX-d2ce56453dc4fc080af8e6746a8aa2ba7694146c.tar.gz
WarpX-d2ce56453dc4fc080af8e6746a8aa2ba7694146c.tar.zst
WarpX-d2ce56453dc4fc080af8e6746a8aa2ba7694146c.zip
Embedded Boundaries not Implemented in RZ (#2125)
Fix #2099. This location for the abort message seemed appropriate to me, please feel free to suggest other locations, if necessary.
Diffstat (limited to '')
-rw-r--r--Source/EmbeddedBoundary/WarpXInitEB.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/EmbeddedBoundary/WarpXInitEB.cpp b/Source/EmbeddedBoundary/WarpXInitEB.cpp
index 3cf96b98f..17b1d64f3 100644
--- a/Source/EmbeddedBoundary/WarpXInitEB.cpp
+++ b/Source/EmbeddedBoundary/WarpXInitEB.cpp
@@ -77,6 +77,10 @@ WarpX::InitEB ()
#ifdef AMREX_USE_EB
BL_PROFILE("InitEB");
+#ifdef WARPX_DIM_RZ
+ amrex::Abort("Embedded Boundaries not implemented in RZ geometry");
+#endif
+
amrex::ParmParse pp_warpx("warpx");
std::string impf;
pp_warpx.query("eb_implicit_function", impf);