diff --git a/Src/Particle/AMReX_ParticleContainerI.H b/Src/Particle/AMReX_ParticleContainerI.H index 9d749bb3b8..adcf68427d 100644 --- a/Src/Particle/AMReX_ParticleContainerI.H +++ b/Src/Particle/AMReX_ParticleContainerI.H @@ -42,6 +42,18 @@ ParticleContainer_impl(i)); + } + m_soa_idata_names.clear(); + for (int i=0; i(i)); + } + static bool initialized = false; if ( ! initialized) { @@ -65,16 +77,6 @@ ParticleContainer_impl(i)); - } - for (int i=0; i(i)); - } - initialized = true; } }