From f08f12835397b9cc05aa4a18fe2f22803501e08d Mon Sep 17 00:00:00 2001 From: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> Date: Tue, 4 Jan 2022 09:41:44 -0800 Subject: Allow Dirichlet BCs on r boundaries in RZ (electrostatic) (#2714) * allow Dirichlet BCs in r when r_min != 0 with ES RZ simulations * handle the rmax boundary condition setting properly when rmin == 0 * add ability to specify rmin and rmax potentials through picmi --- Source/Utils/WarpXUtil.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Source/Utils/WarpXUtil.cpp') diff --git a/Source/Utils/WarpXUtil.cpp b/Source/Utils/WarpXUtil.cpp index 864fc3b10..03b3768a7 100644 --- a/Source/Utils/WarpXUtil.cpp +++ b/Source/Utils/WarpXUtil.cpp @@ -698,11 +698,6 @@ void ReadBCParams () } } } -#ifdef WARPX_DIM_RZ - // Ensure code aborts if PEC is specified at r=0 for RZ - AMREX_ALWAYS_ASSERT_WITH_MESSAGE( WarpX::field_boundary_lo[0] == FieldBoundaryType::None, - "Error : Field boundary at r=0 must be ``none``. \n"); -#endif // Appending periodicity information to input so that it can be used by amrex // to set parameters necessary to define geometry and perform communication -- cgit v1.2.3