aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2021-12-15 21:28:42 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-15 21:28:42 -0800
commit2a24ba13c214b3e4345529deecf627d6d113004e (patch)
tree2e9a8ee1bfc6bf3684cd8b7eea25e23cc9e3a9de /Source/Particles/WarpXParticleContainer.cpp
parentea602b88d21beebcd5b130b3294fdf44ec294e61 (diff)
downloadWarpX-2a24ba13c214b3e4345529deecf627d6d113004e.tar.gz
WarpX-2a24ba13c214b3e4345529deecf627d6d113004e.tar.zst
WarpX-2a24ba13c214b3e4345529deecf627d6d113004e.zip
ABLASTR: Cleanups & Particle Moments (#2675)
* ABLASTR: Cleanups - lowercase dir - nested directories - nested namespaces - functions: lowercase and snake_case - templates: prefix with `T_` - profiler: doc strings * Add: Particle Moments Co-authored-by: Remi Lehe <rlehe@lbl.gov> Co-authored-by: Remi Lehe <rlehe@lbl.gov>
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r--Source/Particles/WarpXParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp
index b52e31e42..fe918dfba 100644
--- a/Source/Particles/WarpXParticleContainer.cpp
+++ b/Source/Particles/WarpXParticleContainer.cpp
@@ -9,7 +9,7 @@
*/
#include "WarpXParticleContainer.H"
-#include "ABLASTR/DepositCharge.H"
+#include "ablastr/particles/DepositCharge.H"
#include "Deposition/ChargeDeposition.H"
#include "Deposition/CurrentDeposition.H"
#include "Pusher/GetAndSetPosition.H"
@@ -648,7 +648,7 @@ WarpXParticleContainer::DepositCharge (WarpXParIter& pti, RealVector& wp,
amrex::LayoutData<amrex::Real>* costs = WarpX::getCosts(lev);
amrex::Real* cost = costs ? &((*costs)[pti.index()]) : nullptr;
- ablastr::DepositCharge<WarpXParticleContainer>
+ ablastr::particles::deposit_charge<WarpXParticleContainer>
(pti, wp, ion_lev, rho, icomp, nc, offset, np_to_depose,
local_rho[thread_num], lev, depos_lev, this->charge,
WarpX::nox, WarpX::noy, WarpX::noz, ng_rho, dx, xyzmin, ref_ratio,