diff options
author | 2019-05-12 06:54:06 -0700 | |
---|---|---|
committer | 2019-05-12 06:54:06 -0700 | |
commit | 71cdf5ca0bfe5a239382cdfb56df1d2d9e68c65f (patch) | |
tree | 68d1c8d8572e826616077011fb9f5f1fad4d4661 /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 5ebe5c35e5b6cac0428173291ece3e431954037f (diff) | |
download | WarpX-71cdf5ca0bfe5a239382cdfb56df1d2d9e68c65f.tar.gz WarpX-71cdf5ca0bfe5a239382cdfb56df1d2d9e68c65f.tar.zst WarpX-71cdf5ca0bfe5a239382cdfb56df1d2d9e68c65f.zip |
debugging
Diffstat (limited to '')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index d99cc9c66..c4d4abfd6 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1863,6 +1863,8 @@ void PhysicalParticleContainer::GetParticleSlice(const int direction, const Real // Note the the slice should always move in the negative boost direction. AMREX_ALWAYS_ASSERT(z_new < z_old); + AMREX_ALWAYS_ASSERT(do_boosted_frame_diags == 1); + const int nlevs = std::max(0, finestLevel()+1); // we figure out a box for coarse-grained rejection. If the RealBox corresponding to a |