[][src]Module salva2d::geometry

Acceleration data structures for collision detection.

Structs

ContactManager

Structure responsible for computing and grouping all the contact between fluid and boundary particles.

HGrid

A grid based on spacial hashing.

ParticlesContacts

The set of contacts affecting the particles of a single fluid.

Enums

HGridEntry

A particle inserted on a spacial grid.

Functions

compute_contacts

Compute all the contacts between the particles inserted in grid.

compute_self_contacts

Compute all the contacts between the particles of a single fluid object.

insert_boundaries_to_grid

Insert all the particles from the given boundaries into the grid.

insert_fluids_to_grid

Insert all the particles from the given fluids into the grid.