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, SoftSpheres and HardSpheres.

Parameters:
__init__(kind, epsilon=1.0, sigma=1.0, cutoff=1.0, alpha=2.0, name='')#
Parameters:
Return type:

None

Methods

__init__(kind[, epsilon, sigma, cutoff, ...])

Attributes

alpha

cutoff

display_size

Diameter used to draw the particles (sigma).

epsilon

name

sigma

kind