pyLBM.elements.Cylinder_Ellipse.distance

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

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

../../_images/Cylinder.png
Parameters:

x : x coordinates of the points

y : y coordinates of the points

z : z coordinates of the points

v : direction of interest

Returns:

array of distances