sarkas.potentials.moliere
Contents
sarkas.potentials.moliere#
Module for handling Moliere Potential.
Potential#
The Moliere Potential is defined as
For more details see [Wilson et al., 1977]. Note that the parameters \(b\) are not normalized by the Bohr radius. They should be passed with the correct units [m] if mks or [cm] if cgs.
Force Error#
The force error is calculated from the Yukawa’s formula with the smallest screening length.
This overestimates it, but it doesn’t matter.
Potential Attributes#
The elements of the sarkas.potentials.core.Potential.matrix are:
pot_matrix[0] = q_iq_je^2/(4 pi eps_0) Force factor between two particles.
pot_matrix[1] = C_1
pot_matrix[2] = C_2
pot_matrix[3] = C_3
pot_matrix[4] = b_1
pot_matrix[5] = b_2
pot_matrix[6] = b_3
Functions
|
Calculate the force error by integrating the square modulus of the force over the neglected volume.n The force error is calculated from |
|
Auxiliary function to be used in scipy.integrate.quad to calculate the integrand. |
|
Numba'd function to calculate the PP force between particles using the Moliere Potential. |
|
Calculate the first and second derivative of the potential. |
|
Assign potential dependent simulation's parameters. |