mpacts.contact.models.misc. edge_detection

In order to be able to use this module import it like this:

import mpacts.contact.models.misc.edge_detection
#or assign it to a shorter name
import mpacts.contact.models.misc.edge_detection as edg

EdgeDetection

Description: Contactmodel intended for pre-processing, finds edges with a certain angle range in a mesh. Geometry combinations available:

PC2 | PC1 - Deformable_Triangle
Deformable_Triangle YES

EdgeDetection (Deformable_Triangle Deformable_Triangle)

Contactmodel intended for pre-processing, finds edges with a certain angle range in a mesh.

Parallel Compatible: No

Properties:

  • Required keywords:
    • max_angle — Maximum angle to be a valid edge.
    • min_angle — Minimum angle to be a valid edge.
    • pc1 — The first particle container in the binary contact detection.
    • pc2 — The second particle container in the binary contact detection. If contact detection within the same particle container is desired, and it is applicable for the contactmodel, pass the same pc to both pc1 and pc2.
  • Read only properties:
    • edges — detected edges

This contact model is composed out of following pieces (click on the chain elements to get more information):

DefaultBoilerPlateDeformable_NGon_2_Data  <3 >
  ↓
Deformable_NGon_1_Data  <3 >
  ↓
Triangle_Triangle_CommonEdge_AngleEdgeDetectionNoFeedback