[−][src]Function salva3d::geometry::compute_contacts
pub fn compute_contacts(
counters: &mut Counters,
h: Real,
fluids: &[Fluid],
boundaries: &[Boundary],
fluid_fluid_contacts: &mut Vec<ParticlesContacts>,
fluid_boundary_contacts: &mut Vec<ParticlesContacts>,
boundary_boundary_contacts: &mut Vec<ParticlesContacts>,
grid: &HGrid<HGridEntry>
)
Compute all the contacts between the particles inserted in grid
.