sarkas.potentials.moliere.force_error_integrand#

sarkas.potentials.moliere.force_error_integrand(r, pot_matrix)[source]#

Auxiliary function to be used in scipy.integrate.quad to calculate the integrand.

Parameters
  • r_in (float) – Distance between two particles.

  • pot_matrix (numpy.ndarray) – Slice of the sarkas.potentials.Potential.matrix containing the necessary potential parameters.

Returns

_ (float) – Integrand \(4\pi r^2 ( d r\phi(r)/dr )^2\)