amep.utils.dr_wca#

amep.utils.dr_wca(r: float | ndarray, eps: float = 10.0, sig: float = 1.0)#

First derivative of the Weeks-Chandler-Anderson (WCA) potential. [1]

References

Parameters:
  • r (float | np.ndarray) – Distances.

  • eps (float, optional) – Strength of the potential. The default is 10.0.

  • sig (float, optional) – Effective particle diameter. The default is 1.0.

Returns:

dr – First derivative.

Return type:

float | np.ndarray