SfePy NTC

Previous topic

sfepy.linalg.extmods.crcm module

Next topic

sfepy.mechanics.elastic_constants module

This Page

sfepy.mechanics.contact_bodies module

class sfepy.mechanics.contact_bodies.ContactPlane(anchor, normal, bounds)[source]
get_distance(points)[source]
mask_points(points)[source]
class sfepy.mechanics.contact_bodies.ContactSphere(centre, radius)[source]
get_distance(points)[source]

Get the penetration distance and normals of points w.r.t. the sphere surface.

Returns:

d : array

The penetration distance.

normals : array

The normals from the points to the sphere centre.

mask_points(points, eps)[source]
sfepy.mechanics.contact_bodies.plot_points(ax, points, marker, **kwargs)[source]
sfepy.mechanics.contact_bodies.plot_polygon(ax, polygon)[source]