in C++
- Simtop
Simulation of rigid bodies interacting with smooth potentials (version 2, May 2009)code: simtop.cc input: simtop.ini needs: tops.h, tops.cc, vecmat3.h notes: R. van Zon & J. Schofield, Phys. Rev. E 75 056701 (2007). version 1: simtopv1.cc - Tops
Exact torque-free dynamics of rigid bodies (version 2, May 2009) - Testtops
Example for Tops (version 2, May 2009)code: testtops.cc needs: tops.h, tops.cc, vecmat3.h version 1: testtopsv1.h - VecMat3
Fast implementation of three dimensional vectors and matrices (version 2, May 2009)code: vecmat3.h doc: vecmat3v2.pdf notes: C++ header file for three dimensional vectors and matrices, using expression templates for efficiency. Highly recommended! version 1: vecmat3v1.h, docvecmat3v1.pdf
in C
- Simctop
Simulation of rigid bodies interacting with smooth potentialscode: simctop.c input: simtop.ini needs: ctops.h, ctops.c notes: R. van Zon & J. Schofield, Phys. Rev. E 75 056701 (2007). - Ctops
Exact torque-free dynamics of rigid bodies - Testctops
Example for Ctopscode: testctops.c needs: ctops.h, ctops.c