Skip to content

Remove "Redirected" Edge in the Project #392

Closed

Description

@hongyuchen1030

Describe the bug

Previously, we had decided that the span of an edge cannot be larger than 180 degrees. This meant that we would always pick the direction of the edge that was less than 180 degrees. However, we have now realized that this "redirect" scheme might contradict with the UGRID convention.

According to the UGRID convention, the topology is always counter-clockwise. This means that redirecting the edge may impact the topology in a negative way. When we draw a mesh on a sphere, the supporting plane of that mesh will slice the sphere into two parts. Since we said the mesh is "undirected", we don't know which part of the sphere it points to.

Expected behavior
Always adhere UGRID counter clock-wise convention. if the edge exceeds 180 degrees then throw an error

Impacted Functionality
#357 (Use this redirect method, will address asap before merge)
#171 (Not much impact, just remember to throw exception when the edge span is larger than 180 degree. Will update my comment on the PR)

Activity

  1. added
    bug
    on Jul 21, 2023
  2. moved this from 📝 To Do to 🏗 In progress in UXarray Developmenton Jul 21, 2023
  3. linked a pull request that will close this issuePoint on GCA helper function #357on Jul 21, 2023
  4. moved this from 🏗 In progress to 👀 In review in UXarray Developmenton Jul 28, 2023
  5. moved this from 👀 In review to ✅ Done in UXarray Developmenton Aug 14, 2023
  6. added this to the Grid Topology milestone on Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Fields

Priority

None yet

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions