lagrangian.Integration¶
-
class
lagrangian.Integration¶ Bases:
pybind11_builtins.pybind11_objectHandles the time integration
-
__init__(self: lagrangian.core.Integration, start_time: lagrangian::DateTime, end_time: lagrangian::DateTime, delta_t: boost::posix_time::time_duration, field: lagrangian.core.Field) → None¶ Default constructor
- Parameters
start_time (datetime.datetime) – Start time of the integration
end_time (datetime.datetime) – End date of the integration
delta_t (datetime.timedelta) – Time interval
field (lagrangian.Field) – Field to use for computing the velocity of a point.
Methods
Integration.compute(self, it, x0, y0)Calculate the new position of the particle
Integration.fetch(self, date)Perform the tasks before a new time step (eg load grids required)
Integration.iterator(self)Return an iterator that describes the integration period
-