mpacts.contact.models.misc. overlapinfo

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

import mpacts.contact.models.misc.overlapinfo
#or assign it to a shorter name
import mpacts.contact.models.misc.overlapinfo as ove

ComputeMaxOverlapSpheres

Description: A model that assembles the maximal overlap between spheres. Geometry combinations available:

PC2 | PC1 - Sphere
Sphere YES

ComputeMaxOverlapSpheres (Sphere Sphere)

A model that assembles the maximal overlap between spheres.

Parallel Compatible: No

Properties:

  • Required keywords:
    • overlap1 — Array with unsigned which stores the Overlap per primitive for pc1.
    • overlap2 — Array with unsigned which stores the Overlap per primitive for pc1.
    • 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.

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

DefaultBoilerPlateSphere0_2_DataSphere0_1_DataSphere_SphereWriteMaxOverlap_Primitives_1WriteMaxOverlap_Primitives_2NoFeedback

ComputeTotalOverlapSpheres

Description: A model that sums up the total overlap between spheres. Geometry combinations available:

PC2 | PC1 - Sphere
Sphere YES

ComputeTotalOverlapSpheres (Sphere Sphere)

A model that sums up the total overlap between spheres.

Parallel Compatible: No

Properties:

  • Required keywords:
    • overlap1 — Array with unsigned which stores the Overlap per primitive for pc1.
    • overlap2 — Array with unsigned which stores the Overlap per primitive for pc1.
    • 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.

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

DefaultBoilerPlateSphere0_2_DataSphere0_1_DataSphere_SphereWriteTotalOverlap_Primitives_1WriteTotalOverlap_Primitives_2NoFeedback

VolumeLossAssembler

Description: A model that assembles the lost ‘volume’ due to overlap between spheres. Geometry combinations available:

PC2 | PC1 - Sphere
Sphere YES

VolumeLossAssembler (Sphere Sphere)

A model that assembles the lost ‘volume’ due to overlap between spheres.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • 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.

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

DefaultBoilerPlateSphere0_2_DataSphere0_1_DataSphere_SphereAssemble_VolumeLoss_1Assemble_VolumeLoss_2NoFeedback