sarkas.potentials.hs_yukawa.force_deriv#

sarkas.potentials.hs_yukawa.force_deriv(r, pot_matrix)[source]#

Calculate the second derivative of the potential.

Parameters
  • r (float) – Distance between particles

  • pot_matrix (numpy.ndarray) – Values of the potential constants.

    Shape = (3, sarkas.core.Parameters.num_species, sarkas.core.Parameters.num_species)

Returns

f_dev (float) – Second derivative of potential.