lagrangian.Position.compute¶
-
Position.compute(self: lagrangian.core.Position, rk4: lagrangian.core.RungeKutta, it: Iterator, cell: lagrangian.core.CellProperties) → bool¶ To move a particle with a velocity field.
- Parameters
rk (lagrangian.RungeKutta) – Runge-Kutta handler
it (lagrangian.Iterator) – Iterator
cell (lagrangian.CellProperties) – Cell properties of the grid used for the interpolation.
- Returns
True if the particle could be moved otherwise false
- Return type