pyLBM.elements.Ellipsoid.point_inside

Ellipsoid.point_inside(grid)

return a boolean array which defines if a point is inside or outside of the ellipsoid.

Parameters:

x : x coordinates of the points

y : y coordinates of the points

z : z coordinates of the points

Returns:

Array of boolean (True inside the ellipsoid, False otherwise)

Notes

the edge of the ellipsoid is considered as inside.