Skip to content

Rename pyfunc argument in Kernels and ParticleSet to kernels or something similar? #2275

@erikvansebille

Description

@erikvansebille

The name pyfunc argument in kernel.py is a remnant from when we converted python functions to C code in v3. Now that we don't do that anymore in v4, the name may not be very informative/descriptive

Since the pyfunc expects a function with the signature of a Kernel or a list of such functions (or a Kernel object), I'd suggest we rename it to kernels. Or does anyone have a better name for it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-designdiscussiongood first issueGood for new parcels developershackathon2025Good issues for the hackathon at the Parcels anniversary event in 2025.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions