-
|
It appears to me that we use ParticleTile regardless of whether the auto& particles = GetParticles(lev);
auto& particle_tile = particles[std::make_pair(mfi.index(), mfi.LocalTileIndex())];Yet
I am now wondering:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This sentence:
is wrong, or at least misleading. The underlying data structure always stores some number of To answer your specific questions:
|
Beta Was this translation helpful? Give feedback.
This sentence:
is wrong, or at least misleading. The underlying data structure always stores some number of
ParticleTileobjects per grid and level. Whendo_tiling = 0, there is always exactly one tile per grid, but the object that gets returned by the[]operator ofParticleLevel is still aParticleTile. Whendo_tiling = 1, each grid can have multipleParticleTileobjects, depending on thetile_size. Settingdo_tiling = 0is equivalent to setting thetile_size` to be very large in each direction.To …