diff options
author | 2021-07-06 15:35:01 -0700 | |
---|---|---|
committer | 2021-07-06 15:35:01 -0700 | |
commit | 0356216f504643a0e33a6932efc5c2cbf9a2abe1 (patch) | |
tree | 73266aaec6dec16bde6349e49e55e1bd9c8bfca5 /Source/WarpX.cpp | |
parent | 82eec2a5032286c617449ea45a341b72b6f8bed2 (diff) | |
download | WarpX-0356216f504643a0e33a6932efc5c2cbf9a2abe1.tar.gz WarpX-0356216f504643a0e33a6932efc5c2cbf9a2abe1.tar.zst WarpX-0356216f504643a0e33a6932efc5c2cbf9a2abe1.zip |
Reflective particle boundary condition (#1728)
* Added ParticleBoundaries and reflecting boundary conditions
* Added ParticleBoundaries::AllNone
* Allowed different particle boundary conditions on each side of the domain
* Updated the documentation for particle boundaries
* Fix end of line space in Docs/source/running_cpp/parameters.rst
* Updated the reflecting BC to use boundary input group
* Fixes to reflective boundary conditions
* Bug fix in AsStored
* Added particle boundaries regression test particle_boundaries_3d
* Fixed particle_boundaries_3d.json
* Minor updates
* Added algo.particle_shape to test case
* Remove do_pml from test case
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
* Need to explicitly turn off pml in CI test
* Re-add include
* Fixed includes
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 9dcba8b7d..1cfb142ea 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -116,8 +116,8 @@ int WarpX::em_solver_medium; int WarpX::macroscopic_solver_algo; amrex::Vector<int> WarpX::field_boundary_lo(AMREX_SPACEDIM,0); amrex::Vector<int> WarpX::field_boundary_hi(AMREX_SPACEDIM,0); -amrex::Vector<int> WarpX::particle_boundary_lo(AMREX_SPACEDIM,0); -amrex::Vector<int> WarpX::particle_boundary_hi(AMREX_SPACEDIM,0); +amrex::Vector<ParticleBoundaryType> WarpX::particle_boundary_lo(AMREX_SPACEDIM,ParticleBoundaryType::Absorbing); +amrex::Vector<ParticleBoundaryType> WarpX::particle_boundary_hi(AMREX_SPACEDIM,ParticleBoundaryType::Absorbing); bool WarpX::do_current_centering = false; |