Superquadric - Narrow/Broad Contact Detection

Submitted by ssjackson707 on Wed, 07/02/2025 - 15:14

Hi, I am working with superquadrics in the LIGGGHTS library.

I have compiled the library, with superquadrics enabled, and I do receive results.
In particular, I am investigating the narrow/broad phase contact detection discussed in here: https://link.springer.com/article/10.1007/s40571-016-0131-6

The code for this article is in the LIGGGHTS library but it does not seem that the computation of contact atoms is using the superquadrics code? It is computing contact detection based on atom radius - which is minimum bounding sphere for superquadrics.

i.e. Necessary functions in math_extra_liggghts_superquadrics.cpp are not used in for compute_contact_atom.cpp

Am I wrong or do I need to work on integrating the existing code into a compute_atoms file?

Many thanks,
Sam