amep.utils.wca#
- amep.utils.wca(r: float | ndarray, eps: float = 10.0, sig: float = 1.0)#
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:
epot – Potential energy.
- Return type:
float | np.ndarray