diff options
author | 2022-06-15 16:18:35 +0700 | |
---|---|---|
committer | 2022-06-15 02:18:35 -0700 | |
commit | 95e92ff51599b685af4d09f867af4c49a42f2a72 (patch) | |
tree | 6320bf3ab4f64eeb15877358c39562cff6ae57a1 /Source/Particles/WarpXParticleContainer.cpp | |
parent | 14d5c63d9f70ba2676e92a2403ed7006eaec832b (diff) | |
download | WarpX-95e92ff51599b685af4d09f867af4c49a42f2a72.tar.gz WarpX-95e92ff51599b685af4d09f867af4c49a42f2a72.tar.zst WarpX-95e92ff51599b685af4d09f867af4c49a42f2a72.zip |
ABLASTR: Compute Phi (#2994)
* ABLASTR: Compute Phi
Expose the computation of the electro-static potential for
relativistic beams via ABLASTR for ImpactX.
* Add `ablastr::fields::computePhi`
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
* Cleanup: Old Comments
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index ec3f7f4a8..6af4b5aa7 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -675,7 +675,11 @@ WarpXParticleContainer::DepositCharge (amrex::Vector<std::unique_ptr<amrex::Mult // Exchange guard cells if (local == false) { - ablastr::utils::communication::SumBoundary(*rho[lev], WarpX::do_single_precision_comms, m_gdb->Geom(lev).periodicity()); + ablastr::utils::communication::SumBoundary( + *rho[lev], + WarpX::do_single_precision_comms, + m_gdb->Geom(lev).periodicity() + ); } } |