Step¶
- class hoomd.hpmc.pair.Step¶
Bases:
PairStep function pair potential (HPMC).
Stepcomputes 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
epsilonlist and is the element of therlist.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: