lagrangian.Quintuplet

class lagrangian.Quintuplet

Bases: lagrangian.core.Position

Define the position of 5 points

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: lagrangian.core.Quintuplet) -> None

  2. __init__(self: lagrangian.core.Quintuplet, x: float, y: float, delta: float, start_time: lagrangian::DateTime, spherical_equatorial: bool = True) -> None

Construct a new object defining the position of the 5 points

Parameters
  • x (float) – Longitude of the initial point

  • y (float) – Latitude of the initial point

  • delta (float) – Initial separation in degrees of neighboring

  • start_time (datetime.datetime) – Advection starting time particles

  • spherical_equatorial (bool) – True if the coordinates system is Lon/lat otherwise false

Methods

Quintuplet.compute(self, rk4, it, cell)

To move a particle with a velocity field.

Quintuplet.max_distance(self)

Compute the distance max

Quintuplet.strain_tensor(self)

Quintuplet.xi(self)

Returns the x-axis of the point

Quintuplet.yi(self)

Returns the y-axis of the point

Attributes

Quintuplet.is_completed

Test if the integration is over

Quintuplet.missing

True if the integration is complete.

Quintuplet.time

Returns the time at the end of the integration