spheropack.rejection_free.PairPotential#
- class spheropack.rejection_free.PairPotential(kind, epsilon=1.0, sigma=1.0, cutoff=1.0, alpha=2.0, name='')#
Isotropic pair potential with at most one minimum and zero at the cutoff.
Use the constructors
LennardJones,WCA,DPD,SoftSpheresandHardSpheres.- Parameters:
- __init__(kind, epsilon=1.0, sigma=1.0, cutoff=1.0, alpha=2.0, name='')#
Methods
__init__(kind[, epsilon, sigma, cutoff, ...])Attributes
alphacutoffdisplay_sizeDiameter used to draw the particles (
sigma).epsilonnamesigmakind