Overview
Physics of the simulation¶
We can evolve the particle system, (according to some dynamical equations like Newton's equations) with time by looping through the following steps:
- Accumulate the forces on each particle: This is carried out using force calculators, which are methods of class
Physics
- Step forward one time step using a standard differential equation solver: This is carried out using various integrators, which are methods of class
Physics
- If desired, write the state of particle system to a file (for analysis or rendering)
The physics of the simulation is handled by classes Physics
, Langevin_Dynamics