Skip to content
Projects

Macroparticles

The equations of tree_d_3d.bodies, declared on the code that implements them and checked by the tests.

ChargedBody

classsource

A physical particle or weighted macroparticle in consistent units.

weight
m=w m1,q=w q1,qm=q1m1m = w\, m_1, \qquad q = w\, q_1, \qquad \frac{q}{m} = \frac{q_1}{m_1}
Assumes
  • m1m_1, q1q_1 per physical particle; a macroparticle of weight w>0w > 0 keeps the charge-to-mass ratio
  • a fixed source has zero velocity and never moves