Acceleration data structures for collision detection.
Structure responsible for computing and grouping all the contact between fluid and boundary particles.
A grid based on spacial hashing.
The set of contacts affecting the particles of a single fluid.
A particle inserted on a spacial grid.
Compute all the contacts between the particles inserted in
Compute all the contacts between the particles of a single fluid object.
Insert all the particles from the given boundaries into the
Insert all the particles from the given fluids into the