1. 24 Jan, 2023 3 commits
    • Marcus Mohr's avatar
      Merge branch 'bvilacis+mohr/plates-point-in-polygon-3D-mc' into 'master' · c4aacb43
      Marcus Mohr authored
      Upgrade algorithm for finding plate associated with point
      
      See merge request !563
      c4aacb43
    • Berta Vilacís's avatar
      Cleanup and change of internal coordinate system · af89ca0d
      Berta Vilacís authored and Marcus Mohr's avatar Marcus Mohr committed
      General cleanup of functions that were not used anymore due to
      the update to point-in-polygon in 3D using the boost library.
      
      Change also to the interal coordinate system to the usage of the
      coordinates lon lat. This change is due to the boost library.
      It preforms the operations in the surface of a sphere in such
      coordinate system.
      Also also to improve usability of the code.
      The user doesn't have to change the input coordinates to the unit sphere
      anymore. Now, palates can be given any xyz, independant of the radius.
      
      The output is still the velocity of the point in xyz in the sphere of
      EarthRadius in m/s.
      
      (cherry picked from commit 9bce1d33)
      af89ca0d
    • Berta Vilacís's avatar
      Point in polygon in 3D using the library boost · 71d9a9c6
      Berta Vilacís authored and Marcus Mohr's avatar Marcus Mohr committed
      It implements the point in polygon in the surface of the sphere
      using the libary boost. To do so, it uses the coordinates in
      "spherical-equatorial", lon lat as used in geophysics (see boost page).
      Thus the plates boundaries are now stored directly with lon lat,
      they are not converted to the unit sphere.
      
      It also calculates the distance from the point to the polygon using
      the boost library.
      
      This implementation reduces the amount of operations to locate the point
      into a plate and removes the dependency of the module plates
      to the library CGAL.
      It also reduces the amount of points without a plate, almost to none.
      The only times we have a point without a plate, is due to the gaps that
      the input file provides.
      
      (cherry picked from commit 163da0bc)
      71d9a9c6
  2. 19 Jan, 2023 2 commits
  3. 18 Jan, 2023 19 commits
  4. 13 Jan, 2023 4 commits
  5. 12 Jan, 2023 2 commits
  6. 11 Jan, 2023 7 commits
  7. 10 Jan, 2023 3 commits
    • Marcus Mohr's avatar
      Start regenerating HFG forms · f3e78ea9
      Marcus Mohr authored
      For this commit we regenerated a first bunch of HFG forms without the
      assembly query methods.
      f3e78ea9
    • Marcus Mohr's avatar
      Remove assembly query methods from non-generated forms · 6cab1651
      Marcus Mohr authored
      This commit is step 1 in resolving issue #192. We remove the following
      methods
      - assemble2D()
      - assemble3D()
      - assembly2DDefined()
      - assembly3DDefined()
      from all form classes besides
      - the ones generated with HFG
      - the base class Form itself
      In the latter we implement them as virtual functions instead of being
      pure virtual as before.
      
      Once we have regenerated all HFG forms we can also remove the methods
      from the Form class itself.
      
      With this commit we also remove the associated checks from the operators
      - EdgeDoFOperator
      - EdgeDoFToVertexDoFOperator
      - VertexToEdgeDoFOperator
      6cab1651
    • Benjamin Mann's avatar
      Merge branch 'mogli/PrimitiveID' into 'master' · c6dc02f6
      Benjamin Mann authored
      Extend PrimitiveID to support childIDs for cells
      
      See merge request !555
      c6dc02f6