diff options
author | 2021-03-17 15:41:53 -0700 | |
---|---|---|
committer | 2021-03-17 15:41:53 -0700 | |
commit | 93cdd24708e8e975409daebce758ddbcaaac9325 (patch) | |
tree | 8a10ebd185306f613c4509126e211fd5a6e1ff93 /Source/Particles/WarpXParticleContainer.cpp | |
parent | 161a0f9af3251aa2691ec90753de70632c5226bc (diff) | |
download | WarpX-93cdd24708e8e975409daebce758ddbcaaac9325.tar.gz WarpX-93cdd24708e8e975409daebce758ddbcaaac9325.tar.zst WarpX-93cdd24708e8e975409daebce758ddbcaaac9325.zip |
Replaced almost all nGrow with nGrowVect (#1801)
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index a42a12815..c36a57041 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -626,7 +626,7 @@ WarpXParticleContainer::DepositCharge (amrex::Vector<std::unique_ptr<amrex::Mult for (int lev = 0; lev <= finest_level; ++lev) { // Reset the `rho` array if `reset` is True - if (reset) rho[lev]->setVal(0.0, rho[lev]->nGrow()); + if (reset) rho[lev]->setVal(0.0, rho[lev]->nGrowVect()); // Loop over particle tiles and deposit charge on each level #ifdef AMREX_USE_OMP |