mpacts.contact.models.misc. contactresolution_test

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

import mpacts.contact.models.misc.contactresolution_test
#or assign it to a shorter name
import mpacts.contact.models.misc.contactresolution_test as con

ResolveClosestDistance

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - Sphere RigidSphere Point
Sphere YES    
RigidSphere   YES  
Point     YES

ResolveClosestDistance (Point Point)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_closer_than (default value = -1) — Throws if the distance is smaller than the specified distance. Defaults to -1, which of course never happens.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlatePoint_1_DataPoint_2_DataPoint_PointFindClosestDistanceAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveClosestDistance (RigidSphere RigidSphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_closer_than (default value = -1) — Throws if the distance is smaller than the specified distance. Defaults to -1, which of course never happens.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigidSphere_1_DataRigidSphere_2_DataPoint_PointFindClosestDistanceAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveClosestDistance (Sphere Sphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_closer_than (default value = -1) — Throws if the distance is smaller than the specified distance. Defaults to -1, which of course never happens.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlatePoint_1_DataPoint_2_DataPoint_PointFindClosestDistanceAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveDeleteClosest

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - Sphere RigidSphere Point
Sphere YES    
RigidSphere   YES  
Point     YES

ResolveDeleteClosest (Point Point)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_closer_than (default value = -1) — Throws if the distance is smaller than the specified distance. Defaults to -1, which of course never happens.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlatePoint_1_DataPoint_2_DataPoint_PointFindAndDeleteClosestAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveDeleteClosest (RigidSphere RigidSphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_closer_than (default value = -1) — Throws if the distance is smaller than the specified distance. Defaults to -1, which of course never happens.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigidSphere_1_DataRigidSphere_2_DataPoint_PointFindAndDeleteClosestAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveDeleteClosest (Sphere Sphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_closer_than (default value = -1) — Throws if the distance is smaller than the specified distance. Defaults to -1, which of course never happens.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlatePoint_1_DataPoint_2_DataPoint_PointFindAndDeleteClosestAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveFurthestDistance

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - Sphere RigidSphere Point
Sphere YES    
RigidSphere   YES  
Point     YES

ResolveFurthestDistance (Point Point)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_further_than (default value = 1.7976931348623157e+308) — Throws if the distance is larger than the specified distance.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlatePoint_1_DataPoint_2_DataPoint_PointFindFurthestDistanceAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveFurthestDistance (RigidSphere RigidSphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_further_than (default value = 1.7976931348623157e+308) — Throws if the distance is larger than the specified distance.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigidSphere_1_DataRigidSphere_2_DataPoint_PointFindFurthestDistanceAccessToResolveDataFeedbackDistance_TODOREMOVE

ResolveFurthestDistance (Sphere Sphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • throw_if_further_than (default value = 1.7976931348623157e+308) — Throws if the distance is larger than the specified distance.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlatePoint_1_DataPoint_2_DataPoint_PointFindFurthestDistanceAccessToResolveDataFeedbackDistance_TODOREMOVE

Sphere_Resolution_Feedback

Description: Sphere resolver with feedback. Geometry combinations available:

PC2 | PC1 - Sphere
Sphere YES

Sphere_Resolution_Feedback (Sphere Sphere)

Sphere resolver with feedback.

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

DefaultBoilerPlateSphere_1_DataSphere_2_DataSphere_SphereFeedback

Test_FlatLayer_Resolution

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Rigid_Triangle YES YES
Rigid_Quad   YES

Test_FlatLayer_Resolution (Rigid_Quad Rigid_Quad)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • max_flat_angle (default value = 0.017453292519943295) — Maximal deviation of normal1 and -normal2 (in RADIAN) for which the contact will still be considered flat (default: 1 degree).
    • reject_angle (default value = 1.2309594173407747) — Angles sharper than this angle (in RADIAN) will be ignored, regardless of node normals.Higher = more stable, but might miss sharp contacts. Lower = more inclusive, but numerically dangerous.Only change this setting from its default if you know what you are doing. Default value = arccos(1/3), the angle of the tetrahedron, which is the sharpest we can safely deal with.
    • weight_normal_1 (default value = 0.5) — Weight that will be assigned to the contribution of the normal of p1 in determining the normal unit vector. the weight from the normal of p2 is (1-weight_normal_1). Default is equal weights. Only change this setting if you know what you are doing.
  • Read only properties:
    • base_dir — Vector located in the contact plane in the direction of increasing overlap (or positive angle).
    • contactArea — Contact area of the intersection between the two projected polygons p1 and p2.
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • point_is — Point located on the intersection line between the two planes p1 and p2.
    • projectedArea — Projected area of the intersection of p1 and p2, projected in the contact plane.
    • rejectContact — reason to reject (0 is no reject)
    • tan_alpha — tangent of the angle between the bisection and p1/p2.
    • vector_is — Vector located on the intersection line between the two planes p1 and p2.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <4 >
  ↓
Rigid_NGon_2_Data  <4 >
  ↓
FlatLayer_NGon_1_Data  <4 >
  ↓
FlatLayer_NGon_2_Data  <4 >
  ↓
NGon_NGonAccessToFlatNGonResolveDataNoFeedback

Test_FlatLayer_Resolution (Rigid_Quad Rigid_Triangle)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • max_flat_angle (default value = 0.017453292519943295) — Maximal deviation of normal1 and -normal2 (in RADIAN) for which the contact will still be considered flat (default: 1 degree).
    • reject_angle (default value = 1.2309594173407747) — Angles sharper than this angle (in RADIAN) will be ignored, regardless of node normals.Higher = more stable, but might miss sharp contacts. Lower = more inclusive, but numerically dangerous.Only change this setting from its default if you know what you are doing. Default value = arccos(1/3), the angle of the tetrahedron, which is the sharpest we can safely deal with.
    • weight_normal_1 (default value = 0.5) — Weight that will be assigned to the contribution of the normal of p1 in determining the normal unit vector. the weight from the normal of p2 is (1-weight_normal_1). Default is equal weights. Only change this setting if you know what you are doing.
  • Read only properties:
    • base_dir — Vector located in the contact plane in the direction of increasing overlap (or positive angle).
    • contactArea — Contact area of the intersection between the two projected polygons p1 and p2.
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • point_is — Point located on the intersection line between the two planes p1 and p2.
    • projectedArea — Projected area of the intersection of p1 and p2, projected in the contact plane.
    • rejectContact — reason to reject (0 is no reject)
    • tan_alpha — tangent of the angle between the bisection and p1/p2.
    • vector_is — Vector located on the intersection line between the two planes p1 and p2.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <4 >
  ↓
FlatLayer_NGon_1_Data  <4 >
  ↓
Rigid_NGon_2_Data  <3 >
  ↓
FlatLayer_NGon_2_Data  <3 >
  ↓
NGon_NGonAccessToFlatNGonResolveDataNoFeedback

Test_FlatLayer_Resolution (Rigid_Triangle Rigid_Triangle)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • max_flat_angle (default value = 0.017453292519943295) — Maximal deviation of normal1 and -normal2 (in RADIAN) for which the contact will still be considered flat (default: 1 degree).
    • reject_angle (default value = 1.2309594173407747) — Angles sharper than this angle (in RADIAN) will be ignored, regardless of node normals.Higher = more stable, but might miss sharp contacts. Lower = more inclusive, but numerically dangerous.Only change this setting from its default if you know what you are doing. Default value = arccos(1/3), the angle of the tetrahedron, which is the sharpest we can safely deal with.
    • weight_normal_1 (default value = 0.5) — Weight that will be assigned to the contribution of the normal of p1 in determining the normal unit vector. the weight from the normal of p2 is (1-weight_normal_1). Default is equal weights. Only change this setting if you know what you are doing.
  • Read only properties:
    • base_dir — Vector located in the contact plane in the direction of increasing overlap (or positive angle).
    • contactArea — Contact area of the intersection between the two projected polygons p1 and p2.
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • point_is — Point located on the intersection line between the two planes p1 and p2.
    • projectedArea — Projected area of the intersection of p1 and p2, projected in the contact plane.
    • rejectContact — reason to reject (0 is no reject)
    • tan_alpha — tangent of the angle between the bisection and p1/p2.
    • vector_is — Vector located on the intersection line between the two planes p1 and p2.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <3 >
  ↓
Rigid_NGon_2_Data  <3 >
  ↓
FlatLayer_NGon_1_Data  <3 >
  ↓
FlatLayer_NGon_2_Data  <3 >
  ↓
NGon_NGonAccessToFlatNGonResolveDataNoFeedback

Test_NGon_CapsuleSphere_Resolution

Description: Test NGon_CapsuleSphere12. Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Rigid_Capsule YES YES

Test_NGon_CapsuleSphere_Resolution (Rigid_Quad Rigid_Capsule)

Test NGon_CapsuleSphere12.

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.
  • Optional keywords:
    • reject_overlap_r (default value = 1) — Number of radii overlap, at which the contact will be rejected. Set to 0 to disable. Default = 1
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • length_intersection — Length of the cylinder intersection line projected on the Ngon
    • max_overlap — maximal positive overlap on the intersection line.
    • min_overlap — maximal positive overlap on the intersection line.
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap_sphere1 — overlap at the more overlapping sphere.
    • overlap_sphere2 — overlap at the less overlapping sphere.
    • overlap — Contact overlap
    • rejectContact — reject case
    • tan_alpha — tangent of the angle between the cylinder axis and the Ngon.

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

DefaultBoilerPlateRigid_NGon_1_Data  <4 >
  ↓
Rigid_Cylinder_2_DataNGon_CapsuleSphere12AccessToResolveDataNoFeedback

Test_NGon_CapsuleSphere_Resolution (Rigid_Triangle Rigid_Capsule)

Test NGon_CapsuleSphere12.

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.
  • Optional keywords:
    • reject_overlap_r (default value = 1) — Number of radii overlap, at which the contact will be rejected. Set to 0 to disable. Default = 1
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • length_intersection — Length of the cylinder intersection line projected on the Ngon
    • max_overlap — maximal positive overlap on the intersection line.
    • min_overlap — maximal positive overlap on the intersection line.
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap_sphere1 — overlap at the more overlapping sphere.
    • overlap_sphere2 — overlap at the less overlapping sphere.
    • overlap — Contact overlap
    • rejectContact — reject case
    • tan_alpha — tangent of the angle between the cylinder axis and the Ngon.

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

DefaultBoilerPlateRigid_NGon_1_Data  <3 >
  ↓
Rigid_Cylinder_2_DataNGon_CapsuleSphere12AccessToResolveDataNoFeedback

Test_NGon_Capsule_Resolution

Description: Test of integrating NGon_Capsule resolver. Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Rigid_Capsule YES YES

Test_NGon_Capsule_Resolution (Rigid_Quad Rigid_Capsule)

Test of integrating NGon_Capsule resolver.

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.
  • Optional keywords:
    • distance_edge_interpolation (m) (default value = -1) — Distance over which the normal will be interpolated based on the normals on the nodes of the NGon. If the evaluated point lies further than this distance from a NGon edge, than the normal of the NGon will be used instead of the interpolated node normal. By default, this value is set to -1. With this value, the normal of the triangle will always be used.
    • reject_overlap_r_cylinder (default value = 1) — Number of radii overlap at the cylindrical part, at which the contact will be rejected. Default = 1
    • reject_overlap_r (default value = 1) — Number of radii overlap, at which the contact will be rejected. Numbers greater than 1 are not (yet) corretly implemented. Default = 1
  • Read only properties:
    • base_dir — Direction where the capsule and the NGon are overlapping as seen from the intersection line. This vector is perpendicular to the intersection line.
    • contactArea — projected area of the submerged capsule in the NGon
    • contactPoint — Contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • point_is — Poit on the intersection line on which the capsule and the NGon intersect
    • projectedArea — Area of the projected capsule inside the plane. The capsule does not have to be submerged in the NGon.
    • rejectContact — reject case
    • vector_is — Unit vector of the line on which the capsule and the NGon intersect.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <4 >
  ↓
Rigid_Cylinder_2_DataNodeNormals_NGon_1_Data  <4 >
  ↓
NGon_Capsule_Int  <8 >
  ↓
AccessToNGonCapsuleResolveDataNoFeedback

Test_NGon_Capsule_Resolution (Rigid_Triangle Rigid_Capsule)

Test of integrating NGon_Capsule resolver.

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.
  • Optional keywords:
    • distance_edge_interpolation (m) (default value = -1) — Distance over which the normal will be interpolated based on the normals on the nodes of the NGon. If the evaluated point lies further than this distance from a NGon edge, than the normal of the NGon will be used instead of the interpolated node normal. By default, this value is set to -1. With this value, the normal of the triangle will always be used.
    • reject_overlap_r_cylinder (default value = 1) — Number of radii overlap at the cylindrical part, at which the contact will be rejected. Default = 1
    • reject_overlap_r (default value = 1) — Number of radii overlap, at which the contact will be rejected. Numbers greater than 1 are not (yet) corretly implemented. Default = 1
  • Read only properties:
    • base_dir — Direction where the capsule and the NGon are overlapping as seen from the intersection line. This vector is perpendicular to the intersection line.
    • contactArea — projected area of the submerged capsule in the NGon
    • contactPoint — Contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • point_is — Poit on the intersection line on which the capsule and the NGon intersect
    • projectedArea — Area of the projected capsule inside the plane. The capsule does not have to be submerged in the NGon.
    • rejectContact — reject case
    • vector_is — Unit vector of the line on which the capsule and the NGon intersect.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <3 >
  ↓
Rigid_Cylinder_2_DataNodeNormals_NGon_1_Data  <3 >
  ↓
NGon_Capsule_Int  <8 >
  ↓
AccessToNGonCapsuleResolveDataNoFeedback

Test_NGon_Cylinder_Resolution

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad
Rigid_Cylinder YES YES

Test_NGon_Cylinder_Resolution (Rigid_Quad Rigid_Cylinder)

Test of all rounded triangle resolves.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • length_intersection — Length of the cylinder intersection line projected on the Ngon
    • max_overlap — maximal positive overlap on the intersection line.
    • min_overlap — minimal positive overlap on the intersection line.
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case
    • tan_alpha — tangent of the angle between the cylinder axis and the Ngon.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <4 >
  ↓
Rigid_Cylinder_2_DataNGon_CylinderAccessToResolveDataNoFeedback

Test_NGon_Cylinder_Resolution (Rigid_Triangle Rigid_Cylinder)

Test of all rounded triangle resolves.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • length_intersection — Length of the cylinder intersection line projected on the Ngon
    • max_overlap — maximal positive overlap on the intersection line.
    • min_overlap — minimal positive overlap on the intersection line.
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case
    • tan_alpha — tangent of the angle between the cylinder axis and the Ngon.

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

FlatNGonBoilerPlateRigid_NGon_1_Data  <3 >
  ↓
Rigid_Cylinder_2_DataNGon_CylinderAccessToResolveDataNoFeedback

Test_RoundedTriangle_Resolution

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - Rigid_RoundedTriangle
Sphere YES
Rigid_RoundedTriangle YES
Rigid_Quad YES
Rigid_CylinderTop YES
Rigid_CylinderBottom YES
Rigid_Cylinder YES

Test_RoundedTriangle_Resolution (Rigid_RoundedTriangle Rigid_Cylinder)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
Rigid_Cylinder_2_DataFitSphereToTriangle_1RoundedTriangle_CylinderAccessToRoundedTriangleResolveDataNoFeedback

Test_RoundedTriangle_Resolution (Rigid_RoundedTriangle Rigid_CylinderBottom)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
Rigid_Cylinder_2_DataFitSphereToTriangle_1RoundedTriangle_Disk  <Bottom_Selector >
  ↓
AccessToRoundedTriangleResolveDataNoFeedback

Test_RoundedTriangle_Resolution (Rigid_RoundedTriangle Rigid_CylinderTop)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
Rigid_Cylinder_2_DataFitSphereToTriangle_1RoundedTriangle_Disk  <Top_Selector >
  ↓
AccessToRoundedTriangleResolveDataNoFeedback

Test_RoundedTriangle_Resolution (Rigid_RoundedTriangle Rigid_Quad)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • layer_width (default value = 0) — flat layer width
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
Rigid_NGon_2_Data  <4 >
  ↓
FitSphereToTriangle_1RoundedTriangle_NGonAccessToRoundedTriangleResolveDataNoFeedback

Test_RoundedTriangle_Resolution (Rigid_RoundedTriangle Rigid_RoundedTriangle)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_2_DataRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
Rigid_NGon_2_Data  <3 >
  ↓
FitSphereToTriangle_1FitSphereToTriangle_2RoundedTriangle_RoundedTriangleAccessToRoundedTriangleResolveDataNoFeedback

Test_RoundedTriangle_Resolution (Rigid_RoundedTriangle Sphere)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
Sphere_2_DataFitSphereToTriangle_1RoundedTriangle_SphereAccessToRoundedTriangleResolveDataNoFeedback

Test_RoundedTriangle_Resolution_fast

Description: Test of all rounded triangle resolves. Geometry combinations available:

PC2 | PC1 - RoundedTriangle
RoundedTriangle YES

Test_RoundedTriangle_Resolution_fast (RoundedTriangle RoundedTriangle)

Test of all rounded triangle resolves.

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.
  • Optional keywords:
    • rejectNegative (default value = 0) — Strictly reject all negative overlaps
  • Read only properties:
    • contactPointSphere — Sphere-sphere contact point
    • contactPoint — effective contact point
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlapSphere — Sphere-sphere overlap distance
    • overlap — Contact overlap
    • rejectContact — reason to reject (0 is no reject)

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

RoundedTriangleBoilerPlateRoundedTriangleResolverStrictPropertyRoundedTriangle_1_DataRigid_NGon_1_Data  <3 >
  ↓
RoundedTriangle_2_DataRigid_NGon_2_Data  <3 >
  ↓
AccessToRoundedTriangleResolveDataNoFeedback

Test_Sphere_Resolution

Description: Test of all sphere resolvers. Geometry combinations available:

PC2 | PC1 - Spheroid Sphere Rigid_Quad Rigid_CylinderTop Rigid_CylinderBottom Rigid_Cylinder Rigid_Cone
Sphere YES YES YES YES YES YES YES

Test_Sphere_Resolution (Rigid_Cone Sphere)

Test of all sphere resolvers.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigid_Cone_1_DataSphere_2_DataCone_SphereAccessToResolveDataNoFeedback

Test_Sphere_Resolution (Rigid_Cylinder Sphere)

Test of all sphere resolvers.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigid_Cylinder_1_DataSphere_2_DataCylinder_SphereAccessToResolveDataNoFeedback

Test_Sphere_Resolution (Rigid_CylinderBottom Sphere)

Test of all sphere resolvers.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigid_Cylinder_1_DataSphere_2_DataDisk_Sphere  <Bottom_Selector >
  ↓
AccessToResolveDataNoFeedback

Test_Sphere_Resolution (Rigid_CylinderTop Sphere)

Test of all sphere resolvers.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigid_Cylinder_1_DataSphere_2_DataDisk_Sphere  <Top_Selector >
  ↓
AccessToResolveDataNoFeedback

Test_Sphere_Resolution (Rigid_Quad Sphere)

Test of all sphere resolvers.

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.
  • Optional keywords:
    • flip_normals (default value = 0) — Optionally flip normals if sphere is more than its radius submerged. In most cases, we recommend that you leave this option to its default ‘false’.
    • reject_large_overlap (default value = 1) — Optionally reject overlaps reject_overlap_r times larger than the radius. Unless you have a fully concave ‘container’ geometry, we recommend that you leave this value to its default ‘true’.
    • reject_overlap_r (default value = 1) — If reject_large_overlap is True, this specifies the number of sphere radii of overlap that should be rejected (Default=1).
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateRigid_NGon_1_Data  <4 >
  ↓
Sphere_2_DataNGon_SphereAccessToResolveDataNoFeedback

Test_Sphere_Resolution (Sphere Sphere)

Test of all sphere resolvers.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateSphere_1_DataSphere_2_DataSphere_SphereAccessToResolveDataNoFeedback

Test_Sphere_Resolution (Spheroid Sphere)

Test of all sphere resolvers.

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.
  • Read only properties:
    • contactPoint — Contact point
    • contactRadius_sq — squared value of the contact radius
    • normalUnitVector — normal unit vector pointing from p1 to p2
    • overlap — Contact overlap
    • rejectContact — reject case

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

DefaultBoilerPlateSpheroid_1_DataSphere_2_DataSpheroid_SphereAccessToResolveDataNoFeedback