sarkas.potentials.core.Potential.update_pm#

Potential.update_pm(ptcls)[source]#

Calculate the pm part of the potential and acceleration.

Parameters

ptcls (sarkas.particles.Particles) – Particles’ data