-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UXArray - Spatial Hashing Implementation #1849
Comments
The UXArray team is currently working on bringing in a new method to determine if a point is inside a face ( See PR # UXARRAY/uxarray#1056 ). It will be beneficial for us to wait for this functionality to become available in In Parcels, we would then look at specifically implementing the barycentric coordinate calculation once a particle has been found within a single element. I'll need to think a bit more on how this would fit within the Interpolator protocol we're thinking of. |
For an example on how we can modify the For the moment, I'll push forward with doing a type extension of the Once UXARRAY/uxarray#1056 is resolved, we'll push forward with adding the |
Pushing ahead with this one on a fork of UXArray. The search method provided in UXARRAY/uxarray#1056 does not return optional barycentric coordinates, which we may want. I've instead opted to put in local helper routines (in UXArray) that compute the barycentric coordinates for an arbitrary convex polygon with N>=3 vertices. This allows me to put together the First draft has been pushed to a fork here: FluidNumerics/uxarray@89542c9 I'll start working on a notebook that uses this version of UXArray and modifications to Parcels |
Work on merging the work in UXArray to support spatial hashing. This is documented in the issue UXARRAY/uxarray#1126
Once implemented in UXArray, we can then sketch out how the spatial hashing will be implemented in Parcels v4 Field interpolator for
uxarray.dataset
'sThe text was updated successfully, but these errors were encountered: