Skip to content

Commit

Permalink
Fix: PC Tile Copy w/ Names
Browse files Browse the repository at this point in the history
We forgot a `define()` that also needs to forward the names
of SoA components. This fixes it.
  • Loading branch information
ax3l committed Jan 17, 2025
1 parent a74c72e commit 9ded948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Particle/AMReX_ParticleContainer.H
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ public:
ParticleTileType& DefineAndReturnParticleTile (int lev, const Iterator& iter)
{
auto index = std::make_pair(iter.index(), iter.LocalTileIndex());
m_particles[lev][index].define(NumRuntimeRealComps(), NumRuntimeIntComps());
m_particles[lev][index].define(NumRuntimeRealComps(), NumRuntimeIntComps(), &m_soa_rdata_names, &m_soa_idata_names);
return ParticlesAt(lev, iter);
}

Expand Down

0 comments on commit 9ded948

Please sign in to comment.