Skip to content

Commit

Permalink
Adding particle.ti as function input
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvansebille committed Jul 23, 2024
1 parent 1f56ec9 commit acba3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parcels/application_kernels/advection.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def AdvectionAnalytical_2D_JIT(particle, fieldset, time):
when using AdvectionAnalytical in JIT mode.
"""
calcAdvectionAnalytical_2D_JIT('parcels_customed_Cfunc_pointer_args', fieldset.U, fieldset.V, # noqa
particle.xi[0], particle.yi[0], particle.zi[0], # TODO call with particle.xi without subscript
particle.xi[0], particle.yi[0], particle.zi[0], particle.ti[0], # TODO call with particle.xi without subscript
particle.lon, particle.lat, particle.depth, time, particle.dt,
particle_dlon, particle_dlat) # noqa

Expand Down

0 comments on commit acba3fd

Please sign in to comment.