CE_WITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASH
        function searchAll(this,drv)
            % Set flags
            rmv = false;
            
            % Initialize maximum velocity and radius
            vmax = 0;
            rmax = 0;
            
            % Save search step
            this.last_search = drv.step;
            
            % Outer loop over reference particles
            for i = 1:drv.n_particles
  