scordee, Irana Denissen will implement ellipsoids and rods
Cylinders
Contact detection
This group has already implemented rods, maybe we can just copy their algorithms? They seem to work pretty well. First paper is algorithm description, second paper validation.
More modern paper, which reduces contact detection of cylinders to 2D contact detection between sphere and ellipse, and sphere and line.
Old paper, which does not cover all cases. Source code is available though:
http://www.sklogwiki.org/SklogWiki/index.php/Rev._source_code_for_the_minimum_distance_between_two_rods_in_C
Force computation
Inertial moment computation
Ellipsoids
Contact detection
Option from Matuttis-Cheng book: write as generalised eigenvalue problem (this book advises against using ellipsoids)
Force computation
Inertial moment computation
Mercury implementation