Fast overlap detection between hard-core colloidal cuboids and spheres. The OCSI algorithm

06/22/2020
by   Luca Tonti, et al.
0

Collision between rigid three-dimensional objects is a very common modelling problem in a wide spectrum of scientific disciplines, including Computer Science and Physics. It spans from realistic animation of polyhedral shapes for computer vision to the description of thermodynamic and dynamic properties in simple and complex fluids. For instance, colloidal particles of especially exotic shapes are commonly modelled as hard-core objects, whose collision test is key to correctly determine their phase and aggregation behaviour. In this work, we propose the OpenMP Cuboid Sphere Intersection (OCSI) algorithm to detect collisions between prolate or oblate cuboids and spheres. We investigate OCSI's performance by bench-marking it against a number of algorithms commonly employed in computer graphics and colloidal science: Quick Rejection First (QRI), Quick Rejection Intertwined (QRF) and SIMD Streaming Extensions (SSE). We observed that QRI and QRF significantly depend on the specific cuboid anisotropy and sphere radius, while SSE and OCSI maintain their speed independently of the objects' geometry. While OCSI and SSE, both based on SIMD parallelization, show excellent and very similar performance, the former provides a more accessible coding and user-friendly implementation as it exploits OpenMP directives for automatic vectorization.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/09/2015

Fast Geometric Fit Algorithm for Sphere Using Exact Solution

Sphere fitting is a common problem in almost all science and engineering...
research
03/02/2023

Leveraging Symbolic Algebra Systems to Simulate Contact Dynamics in Rigid Body Systems

Collision detection plays a key role in the simulation of interacting ri...
research
09/09/2023

Jade: A Differentiable Physics Engine for Articulated Rigid Bodies with Intersection-Free Frictional Contact

We present Jade, a differentiable physics engine for articulated rigid b...
research
05/19/2022

Collision Detection Accelerated: An Optimization Perspective

Collision detection between two convex shapes is an essential feature of...
research
05/26/2021

A multiresolution Discrete Element Method for triangulated objects with implicit timestepping

Simulations of many rigid bodies colliding with each other sometimes yie...
research
06/22/2021

Large N limit of the knapsack problem

In the simplest formulation of the knapsack problem, one seeks to maximi...
research
11/27/2020

A methodology for co-constructing an interdisciplinary model: from model to survey, from survey to model

How should computer science and social science collaborate to build a co...

Please sign up or login with your details

Forgot password? Click here to reset