pyLBM.elements.Parallelogram.distance

Parallelogram.distance(grid, v, dmax=None)

Compute the distance in the v direction between the parallelogram and the points defined by (x, y).

../../_images/Parallelogram.png
Parameters:

x : x coordinates of the points

y : y coordinates of the points

v : direction of interest

Returns:

array of distances