pylbm.elements.Sphere.distance

method

Sphere.distance(self, grid, v, dmax=None)

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

../../_images/Sphere.png
Parameters
gridndarray

coordinates of the points

vndarray

direction of interest

dmaxfloat

distance max

Returns
ndarray

array of distances