sarkas.potentials.yukawa.force_deriv
sarkas.potentials.yukawa.force_deriv#
- sarkas.potentials.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
d2v_dr2 (float, numpy.ndarray) – Second derivative of the potential.
:raises : DeprecationWarning: