aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2023-01-06 12:30:07 -0800
committerGravatar GitHub <noreply@github.com> 2023-01-06 12:30:07 -0800
commit210ef04152c6d33a64bd052918c9b501bf88cd8c (patch)
treebc6e3c33b0871b0a55b5f8d8f990d9b882ba8b3b /Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
parent8fb44c9eb40daada432e77963f71b3c99bcdcd3e (diff)
downloadWarpX-210ef04152c6d33a64bd052918c9b501bf88cd8c.tar.gz
WarpX-210ef04152c6d33a64bd052918c9b501bf88cd8c.tar.zst
WarpX-210ef04152c6d33a64bd052918c9b501bf88cd8c.zip
add local flag to ParticleBoundaryBuffer::getNumParticlesInContainer (#3586)
Diffstat (limited to 'Source/Diagnostics/BoundaryScrapingDiagnostics.cpp')
-rw-r--r--Source/Diagnostics/BoundaryScrapingDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp b/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
index dff036343..5b5bf4761 100644
--- a/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
+++ b/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
@@ -136,7 +136,7 @@ BoundaryScrapingDiagnostics::Flush (int i_buffer)
int n_particles = 0;
for (auto const& species_name : m_output_species_names) {
- n_particles += particle_buffer.getNumParticlesInContainer(species_name, i_buffer);
+ n_particles += particle_buffer.getNumParticlesInContainer(species_name, i_buffer, false);
}
// If the saving of the particles was not set up for any of the species for this boundary