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 behavior of the potential under the various shifting modes is the same as inhoomd.md.pair.The potential was introduced in F. H. M. Zetterling, M. Dzugutov, and S. Lidin 2001.
Example
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, }
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 factor lphakf(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]