pylbm.elements.Triangle.distance

method

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

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

../../_images/Triangle.png
Parameters
gridndarray

coordinates of the points

vndarray

direction of interest

dmaxfloat

distance max

Returns
ndarray

array of distances