parsys

This is an experimental particle system simulator. The API is very likely to change so using it in your project is currently not recommended.

Integration step

Two integration methods are implemented: Explicit Euler (EE) and Runge-Kutta 4 (RK4). EE is faster but less accurate.

Explicit Euler (EE)

For a simulation step from $t$ to $t + h$, we need as input:

As output, we will compute approximations of $\vec{x}^{t + h}$ and $\vec{v}^{t + h}$.

Explicit Euler integration works as follows:

Runge-Kutta (RK4)

For a simulation step from $t$ to $t + h$, we need as input:

As output, we will compute approximations of $\vec{x}^{t + h}$ and $\vec{v}^{t + h}$.

RK4 integration works as follows: