mpacts.contact.models.misc. lighttransportmodels

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

import mpacts.contact.models.misc.lighttransportmodels
#or assign it to a shorter name
import mpacts.contact.models.misc.lighttransportmodels as lig

RayNGonInteraction

Description: Test model for computing whether points are within a mesh. Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Ray YES YES

RayNGonInteraction (Rigid_Quad Ray)

Test model for computing whether points are within a mesh.

Parallel Compatible: No

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):

RayBoilerPlateGeoRay_2_DataRigid_NGon_1_Data  <4 >
  ↓
NGon_RayStoreLatestContactIndexFeedbackDistance

RayNGonInteraction (Rigid_Triangle Ray)

Test model for computing whether points are within a mesh.

Parallel Compatible: No

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):

RayBoilerPlateGeoRay_2_DataRigid_NGon_1_Data  <3 >
  ↓
NGon_RayStoreLatestContactIndexFeedbackDistance

RaySphereDiskInteraction

Description: Computes whether finite length ‘rays’ intersect with disks defined by a sphere and the direction of the ray. Stores the intersection point in xt if an intersection is found, and stores the corresponding sphere index in the ‘sphere_index’ array that is kept per ray. For non-overlapping sphere this algorithm guarantuees that the closest sphere intersection will be stored after a full contact model execution. Geometry combinations available:

PC2 | PC1 - Ray
Sphere YES

RaySphereDiskInteraction (Ray Sphere)

Computes whether finite length ‘rays’ intersect with disks defined by a sphere and the direction of the ray. Stores the intersection point in xt if an intersection is found, and stores the corresponding sphere index in the ‘sphere_index’ array that is kept per ray. For non-overlapping sphere this algorithm guarantuees that the closest sphere intersection will be stored after a full contact model execution.

Parallel Compatible: No

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):

RayBoilerPlateOpticalSphere_2_DataRay_1_DataRay_SphereDiskFeedbackDistance

RaySphereInteraction

Description: Computes whether finite length ‘rays’ intersects with a sphere. Stores the intersection (hitpoint) point in xt if an intersection is found, stores the corresponding sphere index in the ‘sphere_index’ array that is kept per ray, and the normal direction on the sphere surface at the hitpoint in the ray ‘normal’ array. For non-overlapping sphere this algorithm guarantuees that the closest sphere intersection will be stored after a full contact model execution. Geometry combinations available:

PC2 | PC1 - Ray
Sphere YES

RaySphereInteraction (Ray Sphere)

Computes whether finite length ‘rays’ intersects with a sphere. Stores the intersection (hitpoint) point in xt if an intersection is found, stores the corresponding sphere index in the ‘sphere_index’ array that is kept per ray, and the normal direction on the sphere surface at the hitpoint in the ray ‘normal’ array. For non-overlapping sphere this algorithm guarantuees that the closest sphere intersection will be stored after a full contact model execution.

Parallel Compatible: No

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):

RayBoilerPlateOpticalSphere_2_DataRay_1_DataRay_SphereFeedbackDistance