In Parcels v3, a Kernel has the function signature
def v3Kernel(particle, fieldset, time)
However, as we’re working on vectorized kernels (#2122), the particle is actually a list of particles (a subset of the ParticleSet); so could perhaps better be renamed to particles.
Furthermore, the time does not mean very much anymore, because different particles can ‘live’ at different times. So better to drop it?
I thus propose to use the v4 release for a (breaking) API change to the Kernel signature, to
def v4Kernel(particles, fieldset)
In Parcels v3, a Kernel has the function signature
However, as we’re working on vectorized kernels (#2122), the
particleis actually a list of particles (a subset of the ParticleSet); so could perhaps better be renamed toparticles.Furthermore, the
timedoes not mean very much anymore, because different particles can ‘live’ at different times. So better to drop it?I thus propose to use the v4 release for a (breaking) API change to the Kernel signature, to