ITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASHREPLACE_WITH_DASH_DASH
        function initialize(this,drv)
            % Initialize last search step
            % (large negative value to call searchAll in the 1st step)
            this.last_search = -inf;
            
            % Set update frequency
            if (this.auto_freq)
                vmax = max(vecnorm([drv.particles.veloc_trl]));
                rmax = max([drv.particles.radius]);
                if (vmax =