Zetterling¶
- class hoomd.hpmc.pair.Zetterling(default_r_cut=None, default_r_on=0.0, mode='none')¶
Bases:
PairZetterling pair potential (HPMC).
- Parameters:
Zetterlingcomputes the oscillating pair potential between every pair of particles in the simulation state. The functional form of the potential, including its behavior under shifting modes, is identical to that in the MD pair potentialhoomd.md.pair.Zetterling.See Also:
hoomd.md.pair.ZetterlingExample
zetterling = hoomd.hpmc.pair.Zetterling(mode="shift") zetterling.params[("A", "A")] = { "A": 1.58, "alpha": -0.22, "kf": 4.12, "B": 0.95533, "sigma": 1.0, "n": 18.0, "r_cut": 2.649, } simulation.operations.integrator.pair_potentials = [zetterling]
Members inherited from
Pair:- property energy¶
Potential energy contributed by this potential .
Read more...
Members defined in
Zetterling:- params¶
The Zetterling potential parameters. The dictionary has the following keys:
A(float, required) - Energy scale of the first termalpha(float, required) - Screening factorkf(float, required) - Wave number to mimic the Friedel oscillations effect .B(float, required) - Energy scale of the second term .sigma(float, required) - Repulsive core sizen(float, required) - The power to take sigma/r in the second term
Type:
TypeParameter[tuple[particle_type,particle_type],dict]