diff --git a/Src/Particle/AMReX_ParticleContainer.H b/Src/Particle/AMReX_ParticleContainer.H index e0b610a46af..b258c584f3d 100644 --- a/Src/Particle/AMReX_ParticleContainer.H +++ b/Src/Particle/AMReX_ParticleContainer.H @@ -1244,6 +1244,7 @@ public: m_num_runtime_real++; h_redistribute_real_comp.push_back(communicate); SetParticleSize(); + this->resizeData(); // resize runtime SoA for (int lev = 0; lev < numLevels(); ++lev) { @@ -1266,6 +1267,7 @@ public: m_num_runtime_int++; h_redistribute_int_comp.push_back(communicate); SetParticleSize(); + this->resizeData(); // resize runtime SoA for (int lev = 0; lev < numLevels(); ++lev) {