sarkas.potentials.hs_yukawa#

Module for handling Hard-Sphere Yukawa potential.

Potential#

The Hard-Sphere Yukawa potential between two charges qi and qj at distant r is defined as

Uab(r)=(σr)n+qaqb4πϵ0eκrr.

where κ=1/λ 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
pot_matrix[3] = short range cutoff

Functions

pretty_print_info(potential)

Print potential specific parameters in a user-friendly way.

update_params(potential, species)

Assign potential dependent simulation's parameters.