Skip to content
Snippets Groups Projects
  • Lionel GUEZ's avatar
    6dfdee49
    Optimize: check `min_inters` first · 6dfdee49
    Lionel GUEZ authored
    There is a check on `min_inters` inside `inters_lines` but adding
    these two tests in overlap can spare calls to `copy_shift`. Note that
    we do not need to add such tests in the three other cases of nullity
    of speed contours because, in these three other cases, if at least one
    of `min_inters_speed` or `min_inters_out` is <= 1 then `p_shifted` is
    used.
    6dfdee49
    History
    Optimize: check `min_inters` first
    Lionel GUEZ authored
    There is a check on `min_inters` inside `inters_lines` but adding
    these two tests in overlap can spare calls to `copy_shift`. Note that
    we do not need to add such tests in the three other cases of nullity
    of speed contours because, in these three other cases, if at least one
    of `min_inters_speed` or `min_inters_out` is <= 1 then `p_shifted` is
    used.
overlap.f90 4.86 KiB