Skip to content

Conversation

@erikvansebille
Copy link
Member

@erikvansebille erikvansebille commented Oct 29, 2025

This PR add a XLinearInvdistLandTracer interpolator. Note that the interpolator now uses multiple nested for-loops. So before it can be merged, the interpolator either has to be vectorized or written with numba, for speed

Furthermore, this PR also reshaped the return array of _get_corner_data_Agrid to (ti, zi, yi, xi, apart) for easier use in other Interpolators.

TODO

  • speed up Interpolator by removing nested for-loops

…npart)

For easier use in other Interpolators
Note that the interpolator now requires nested-for-loops. So either has to be vectorized or written with numba, for speed
With help from ChatGPT for the vectorization
@erikvansebille erikvansebille marked this pull request as ready for review October 30, 2025 07:08
Base automatically changed from implementing_field_interpolation_api to v4-dev October 31, 2025 12:54
@erikvansebille erikvansebille merged commit 30b0dd4 into v4-dev Oct 31, 2025
10 checks passed
@erikvansebille erikvansebille deleted the interpolator_invdistland branch October 31, 2025 13:15
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants