Skip to content

Conversation

@erikvansebille
Copy link
Member

This PR updates the function signatures of Kernels from (particle, fieldset, time) to (particles, fieldset), as part of the vectorisation work in v4

It also moves the _assert_same_function_signature() function to the tool directory (not sure if the _helpers.py file is the best place), so it can be used for testing signatures of Interpolation and Kernel functions

@erikvansebille erikvansebille changed the title Also using _assert_same_function_signature for Kernels Update Kernel signature to (particles, fieldset) Sep 10, 2025
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I added f411b45 since this wasn't tested before

@erikvansebille erikvansebille merged commit 0d82a2b into v4-dev Sep 12, 2025
9 checks passed
@erikvansebille erikvansebille deleted the v4-new-kernel-api branch September 12, 2025 08:49
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels development Sep 12, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Parcels v4 release Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

Reconsider Kernel signature for Parcels v4

3 participants