-
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
ParticleTile
objects 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 a
ParticleTile. When
do_tiling = 1, each grid can have multiple
ParticleTileobjects, depending on the
tile_size. Setting
do_tiling = 0is equivalent to setting the
tile_size` to be very large in each direction.To …