Skip to main content

step_with_grid

Function step_with_grid 

Source
pub fn step_with_grid(
    peds: &mut [Pedestrian],
    walls: &[WallSegment],
    params: &Params,
    dt: f64,
    grid: &NeighborGrid,
)
Expand description

Grid-accelerated step variant. Semantically equivalent to step up to numerical noise for pairs inside neighbor_cutoff(params).