Step¶
- class hoomd.hpmc.pair.Step¶
Bases:
Pair
Step function pair potential (HPMC).
Step
computes a user-defined step function pair potential between every pair of particles in the simulation state. The functional form of the potential is:Where is the element of the
epsilon
list and is the element of ther
list.Example
step = hoomd.hpmc.pair.Step() step.params[('A', 'A')] = dict(epsilon=[1, -1], r=[0.5, 1.5]) simulation.operations.integrator.pair_potentials = [step]
Members inherited from
Pair
:- property energy¶
Potential energy contributed by this potential .
Read more...
Members defined in
Step
: