aboutsummaryrefslogtreecommitdiff
path: root/Source/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python')
-rw-r--r--Source/Python/WarpXWrappers.H2
-rw-r--r--Source/Python/WarpXWrappers.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/Python/WarpXWrappers.H b/Source/Python/WarpXWrappers.H
index 708a97cc3..0c2002d65 100644
--- a/Source/Python/WarpXWrappers.H
+++ b/Source/Python/WarpXWrappers.H
@@ -102,7 +102,7 @@ extern "C" {
amrex::Real warpx_sumParticleCharge(const char* char_species_name, const bool local);
- int warpx_getParticleBoundaryBufferSize(const char* species_name, int boundary);
+ int warpx_getParticleBoundaryBufferSize(const char* species_name, int boundary, bool local);
int** warpx_getParticleBoundaryBufferScrapedSteps(
const char* species_name, int boundary, int lev,
diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp
index 05a2a1061..f2c022365 100644
--- a/Source/Python/WarpXWrappers.cpp
+++ b/Source/Python/WarpXWrappers.cpp
@@ -565,11 +565,11 @@ namespace
return myspc.sumParticleCharge(local);
}
- int warpx_getParticleBoundaryBufferSize(const char* species_name, int boundary)
+ int warpx_getParticleBoundaryBufferSize(const char* species_name, int boundary, bool local)
{
const std::string name(species_name);
auto& particle_buffers = WarpX::GetInstance().GetParticleBoundaryBuffer();
- return particle_buffers.getNumParticlesInContainer(species_name, boundary);
+ return particle_buffers.getNumParticlesInContainer(species_name, boundary, local);
}
int** warpx_getParticleBoundaryBufferScrapedSteps(const char* species_name, int boundary, int lev,