mpacts.contact.models.misc. binning

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

import mpacts.contact.models.misc.binning
#or assign it to a shorter name
import mpacts.contact.models.misc.binning as bin

BinPointsToNGons

Description: Counts the number of points (or spheres) that are located (or their projection) inside a pc of N-Gons Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Sphere YES YES

BinPointsToNGons (Rigid_Quad Sphere)

Counts the number of points (or spheres) that are located (or their projection) inside a pc of N-Gons

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_DataRigid_NGon_1_Data  <4 >
  ↓
BinPointsToNGonsNoFeedback

BinPointsToNGons (Rigid_Triangle Sphere)

Counts the number of points (or spheres) that are located (or their projection) inside a pc of N-Gons

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_DataRigid_NGon_1_Data  <3 >
  ↓
BinPointsToNGonsNoFeedback

BinSphereAreaAndVectorsToNGons

Description: Adds the area of spheres that are located (or their projection) inside a pc of N-Gons, and computes the weighted average of a given vector array in spheres to the N-gons Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Sphere YES YES

BinSphereAreaAndVectorsToNGons (Rigid_Quad Sphere)

Adds the area of spheres that are located (or their projection) inside a pc of N-Gons, and computes the weighted average of a given vector array in spheres to the N-gons

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.
    • vector_array1 — Vector array in N-Gon particle container
    • vector_array2 — Vector array in sphere particle container

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

DefaultBoilerPlateSphere0_2_DataRigid_NGon_1_Data  <4 >
  ↓
BinSphereAreaToNGonsBinWeightedVectorToNGonsNoFeedback

BinSphereAreaAndVectorsToNGons (Rigid_Triangle Sphere)

Adds the area of spheres that are located (or their projection) inside a pc of N-Gons, and computes the weighted average of a given vector array in spheres to the N-gons

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.
    • vector_array1 — Vector array in N-Gon particle container
    • vector_array2 — Vector array in sphere particle container

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

DefaultBoilerPlateSphere0_2_DataRigid_NGon_1_Data  <3 >
  ↓
BinSphereAreaToNGonsBinWeightedVectorToNGonsNoFeedback

BinSphereAreaToNGons

Description: Adds the area of spheres that are located (or their projection) inside a pc of N-Gons Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Sphere YES YES

BinSphereAreaToNGons (Rigid_Quad Sphere)

Adds the area of spheres that are located (or their projection) inside a pc of N-Gons

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_DataRigid_NGon_1_Data  <4 >
  ↓
BinSphereAreaToNGonsNoFeedback

BinSphereAreaToNGons (Rigid_Triangle Sphere)

Adds the area of spheres that are located (or their projection) inside a pc of N-Gons

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_DataRigid_NGon_1_Data  <3 >
  ↓
BinSphereAreaToNGonsNoFeedback