diff options
author | 2022-01-04 09:41:44 -0800 | |
---|---|---|
committer | 2022-01-04 09:41:44 -0800 | |
commit | f08f12835397b9cc05aa4a18fe2f22803501e08d (patch) | |
tree | 32ea0bf724d2726bd504ee8044a0428c8ce0a848 /Source/Utils/WarpXUtil.cpp | |
parent | ce851bb9749004dedadf5d41f96c0f0069fedd98 (diff) | |
download | WarpX-f08f12835397b9cc05aa4a18fe2f22803501e08d.tar.gz WarpX-f08f12835397b9cc05aa4a18fe2f22803501e08d.tar.zst WarpX-f08f12835397b9cc05aa4a18fe2f22803501e08d.zip |
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
Diffstat (limited to 'Source/Utils/WarpXUtil.cpp')
-rw-r--r-- | Source/Utils/WarpXUtil.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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 |