Skip to content
Snippets Groups Projects
  1. Apr 26, 2023
  2. Apr 18, 2023
  3. Apr 17, 2023
  4. Apr 14, 2023
  5. Apr 13, 2023
    • Lionel GUEZ's avatar
      Restrict field to outermost contour · ca565b48
      Lionel GUEZ authored
      Restrict field to outermost contour instead of using `outside_points`,
      following removal of argument `outside_points` of procedure
      `set_max_speed`.
      ca565b48
    • Lionel GUEZ's avatar
      Remove argument `outside_points` · bd31b993
      Lionel GUEZ authored
      Remove argument `outside_points` of `set_max_speed`.
      bd31b993
    • Lionel GUEZ's avatar
      21296611
    • Lionel GUEZ's avatar
      Make argument `outside_points` optional · 477c5a21
      Lionel GUEZ authored
      477c5a21
    • Lionel GUEZ's avatar
      Move second test on `ishape_last` inside the first · 716ca075
      Lionel GUEZ authored
      Move the second test on `self._ishape_last[i_slice][orientation]`
      inside the first test. Avoid the double test on
      `self._ishape_last[i_slice][orientation]` when
      `self._ishape_last[i_slice][orientation]` is not None on entry of the
      function. If `self._ishape_last[i_slice][orientation]` is not None on
      entry of the function then, necessarily, the assertion on
      `self._ishape_last[i_slice][orientation].size` and the definition of
      `self._e_max[i_slice][orientation]` have already been done because
      `self._ishape_last[i_slice][orientation]` and
      `self._e_max[i_slice][orientation]` are only defined from the function
      get_ishape_last.
      716ca075
    • Lionel GUEZ's avatar
      Check that `ishape_last` is not empty · 65c0e52b
      Lionel GUEZ authored
      65c0e52b
    • Lionel GUEZ's avatar
      Define `outside_points` as a zero-sized array · f29346e4
      Lionel GUEZ authored
      When we look for the maximum-speed contour, we do not need to give
      outside points. If the bounding box for the search is the bounding box
      of the outermost contour and if the value of SSH for the contour C we
      search is constrained to be between the SSH of the extremum and the
      SSH of the outermost contour then C must be inside the outermost
      contour. So it cannot contain any extremum that is outside the
      outermost contour.
      
      Aside from removing an un-necessary computation, the real motivation
      for this commit is that, now, we do not have to look for all the
      outermost contours before looking for the maximum-speed contours.
      
      I have tested that the results are exactly identical on all
      in-repository tests and on one year of the PhD_Lax domain.
      f29346e4
    • Lionel GUEZ's avatar
      Exclude `n_slices.txt` from comparison · 4221715c
      Lionel GUEZ authored
      Because it is not created by `inst_eddies_v6.py` in the test
      `Mat_v6_to_shapefiles` but it is created in
      `$tests_old_dir/Mat_v6_to_shapefiles` by `plot_eddy_contours.py` in
      the test `Plot_eddy_contours_Mat`.
      4221715c
    • Lionel GUEZ's avatar
      Use `tests_old_dir` · 2d9cef7c
      Lionel GUEZ authored
      2d9cef7c
    • Lionel GUEZ's avatar
      Add option `--x11` to ru Matlab · 42fee1cf
      Lionel GUEZ authored
      It seems that Matlab does not work on spirit without this option.
      42fee1cf
    • Lionel GUEZ's avatar
      Polish · 08234d8c
      Lionel GUEZ authored
      08234d8c
    • Lionel GUEZ's avatar
      Re-indent files · 05e48558
      Lionel GUEZ authored
      05e48558
Loading