sarkas.potentials.coulomb#

Module for handling Coulomb interaction.

Potential#

The Coulomb potential between two particles \(a,b\) is

\[U_{ab}(r) = \frac{q_{a}q_b}{4 \pi \epsilon_0 r}.\]

Potential Attributes#

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

pot_matrix[0] : qi qj/(4pi esp0) Force factor between two particles.
pot_matrix[1] : Ewald parameter in the case of pppm Algorithm. Same value for all species.
pot_matrix[2] : Short-range cutoff. Same value for all species.

Functions

pretty_print_info(potential)

Print potential specific parameters in a user-friendly way.

update_params(potential)

Assign potential dependent simulation's parameters.