lagrangian.RungeKutta.compute¶
-
RungeKutta.compute(self: lagrangian.core.RungeKutta, t: lagrangian::DateTime, x: float, y: float, cell: lagrangian.core.CellProperties = <lagrangian.core.CellProperties object at 0x7fdbfd78cf70>) → tuple¶ Move a point in a veocity field
- Parameters
t (datetime.datetime) – Date
x (float) – Longitude in degrees
y (float) – Latitude in degrees
cell (lagrangian.CellProperties) – Cell properties of the grid used for the interpolation
- Returns
A tuple that contains the longitude/latitude after the shift or None if the velocity field is undefined for the requested position
- Return type
tuple, optional