scordee, Irana Denissen will implement ellipsoids and rods
General non-spherical particles
http://www.sciencedirect.com/science/article/pii/S0009250914007040: article with many references and some basics about moment of inertia.
View file |
---|
name | WouterQuaternions.pdf |
---|
height | 150 |
---|
|
Notes from Wouter, this is what Thomas used to implement quaternions.
Cylinders
Contact detection
View file |
---|
name | KodamBharadwajCurtisHancoockWassgren2010.pdf |
---|
height |
---|
|
...
View file |
---|
name | KodamBharadwajCurtisHancoockWassgren2010-2.pdf |
---|
height |
---|
|
...
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.
View file |
---|
name | FengHanOwen2017.pdf |
---|
height | 250150 |
---|
|
More modern paper, which reduces contact detection of cylinders to 2D contact detection between sphere and ellipse, and sphere and line.
View file |
---|
name | rodDistances.pdf |
---|
height | 250150 |
---|
|
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
...
Inertial moment computation
Ellipsoids (or maybe superquadrics?)
Contact detection
Option from Matuttis-Cheng book: write as generalised eigenvalue problem (this book advises against using ellipsoids)
...
Inertial moment computation
Mercury implementation
- Quaternions already exist, and are a part of every BaseInteractable
- We probably want to inherit from BaseParticle?