sarkas.potentials.yukawa#

Module for handling Yukawa potential.

Potential#

The Yukawa potential between two charges \(q_i\) and \(q_j\) at distant \(r\) is defined as

\[U_{ab}(r) = \frac{q_a q_b}{4 \pi \epsilon_0} \frac{e^{- \kappa r} }{r}.\]

where \(\kappa = 1/\lambda\) is the screening parameter.

Potential Attributes#

The elements of the sarkas.potentials.core.Potential.pot_matrix are:

pot_matrix[0] = q_iq_j^2/(4 pi eps0)
pot_matrix[1] = 1/lambda
pot_matrix[2] = Ewald screening parameter

Functions

pretty_print_info(potential)

Print potential specific parameters in a user-friendly way.

update_params(potential)

Assign potential dependent simulation's parameters.