Skip to content

Subset a Grid using a Nearest Neighbor Query #561

Closed

Description

@philipc2

Proposed new feature or change:

Given some Nearest Neighbor Query that returns the indices of valid nodes (corners or face centers), return a subset of the original Grid that only contains those elements.

Nearest Neighbor (Face Centroid)

The Grid subset would use the indices of the face centroids to obtain all the faces that we want to keep.

Nearest Neighbor (Corner Nodes)

This one is trickier, since the returned corner node indices will lead to faces on the border not being complete. Can employ an inclusive (include the whole face if at least one node is queried) or exclusive (exclude the whole face if at least one node is queried) principle depending on what the user desires.

Activity

  1. added
    new feature
    on Oct 31, 2023
  2. self-assigned this
    on Oct 31, 2023
  3. moved this from 📚 Backlog to 📝 To-Do in UXarray Developmenton Oct 31, 2023
  4. linked a pull request that will close this issueDRAFT: Nearest Neighbor Grid Subset #564on Nov 1, 2023
  5. moved this from 📝 To-Do to 🏗 In progress in UXarray Developmenton Nov 14, 2023
  6. linked a pull request that will close this issueUnstructured Grid Subsetting & Indexing #616on Dec 19, 2023
  7. moved this from 🏗 In progress to ✅ Done in UXarray Developmenton Jan 9, 2024
  8. added this to the Subsetting 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

Assignees

Labels

new feature

Type

No type

Fields

Priority

None yet

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions