Skip to content

Commit 0233b8e

Browse files
authored
Fix: PC Tile Copy w/ Names (#4298)
## Summary We forgot a `define()` that also needs to forward the names of SoA components. This fixes it. ## Additional background First seen in AMReX-Codes/pyamrex#382 ## Checklist The proposed changes: - [x] fix a bug or incorrect behavior in AMReX - [ ] add new capabilities to AMReX - [ ] changes answers in the test suite to more than roundoff level - [ ] are likely to significantly affect the results of downstream AMReX users - [ ] include documentation in the code and/or rst files, if appropriate
1 parent e6828ed commit 0233b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Particle/AMReX_ParticleContainer.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ public:
11931193
ParticleTileType& DefineAndReturnParticleTile (int lev, const Iterator& iter)
11941194
{
11951195
auto index = std::make_pair(iter.index(), iter.LocalTileIndex());
1196-
m_particles[lev][index].define(NumRuntimeRealComps(), NumRuntimeIntComps());
1196+
m_particles[lev][index].define(NumRuntimeRealComps(), NumRuntimeIntComps(), &m_soa_rdata_names, &m_soa_idata_names);
11971197
return ParticlesAt(lev, iter);
11981198
}
11991199

0 commit comments

Comments
 (0)