aboutsummaryrefslogtreecommitdiff
path: root/Source/RigidInjectedParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2018-05-01 10:02:21 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2018-05-01 10:02:21 -0700
commit3ad17a41dcadac0a03bf338a5084d32d9974297e (patch)
tree951404e78bc8f18ee826ce80830acbd5adfc4020 /Source/RigidInjectedParticleContainer.cpp
parentc6ba2c1256a87485da62d259deb7e47afc6cfcca (diff)
downloadWarpX-3ad17a41dcadac0a03bf338a5084d32d9974297e.tar.gz
WarpX-3ad17a41dcadac0a03bf338a5084d32d9974297e.tar.zst
WarpX-3ad17a41dcadac0a03bf338a5084d32d9974297e.zip
Minor updates for RigidInjected
Diffstat (limited to '')
-rwxr-xr-xSource/RigidInjectedParticleContainer.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/RigidInjectedParticleContainer.cpp b/Source/RigidInjectedParticleContainer.cpp
index ae5198648..b4318e58c 100755
--- a/Source/RigidInjectedParticleContainer.cpp
+++ b/Source/RigidInjectedParticleContainer.cpp
@@ -65,6 +65,8 @@ RigidInjectedParticleContainer::BoostandRemapParticles()
const Real vz_lab = uzp[i]/gamma_lab;
// t_lab is the time in the lab frame that the particles reaches z=0
+ // The location and time (z=0, t=0) is a synchronization point between the
+ // lab and boosted frames.
const Real t_lab = -zp[i]/vz_lab;
if (!projected) {
@@ -108,12 +110,12 @@ RigidInjectedParticleContainer::Evolve (int lev,
MultiFab* rho, MultiFab* rho2,
Real t, Real dt)
{
- BL_PROFILE("PPC::Evolve()");
- BL_PROFILE_VAR_NS("PPC::Evolve::Copy", blp_copy);
+ BL_PROFILE("RigidPC::Evolve()");
+ BL_PROFILE_VAR_NS("RigidPC::Evolve::Copy", blp_copy);
BL_PROFILE_VAR_NS("PICSAR::FieldGather", blp_pxr_fg);
BL_PROFILE_VAR_NS("PICSAR::ParticlePush", blp_pxr_pp);
BL_PROFILE_VAR_NS("PICSAR::CurrentDeposition", blp_pxr_cd);
- BL_PROFILE_VAR_NS("PPC::Evolve::Accumulate", blp_accumulate);
+ BL_PROFILE_VAR_NS("RigidPC::Evolve::Accumulate", blp_accumulate);
const std::array<Real,3>& dx = WarpX::CellSize(lev);