MC Pair potential evaluators¶
Overview
Sets up energy calculations for Monte-Carlo exchanges that use LJ forces. |
|
Sets up a truncated coulomb interaction for MC alchemical transformations of charges |
|
Sets up a truncated coulomb interaction as used by MARTINI force-field |
Details
-
class
plugin_muMC.pair.TruncatedCoulomb(r_cut, nlist, name)¶ Bases:
plugin_muMC.pair.pairSets up a truncated coulomb interaction as used by MARTINI force-field
-
class
plugin_muMC.pair.charge_mc(r_cut, nlist, name=None)¶ Bases:
plugin_muMC.pair.pairSets up a truncated coulomb interaction for MC alchemical transformations of charges
-
class
plugin_muMC.pair.ghost_dpdlj(r_cut, nlist, kT, seed, name=None)¶ Bases:
plugin_muMC.pair.pairDissipative Particle Dynamics with a LJ conservative force
This is a variant of the base HOOMD DPDLJ class that also applies DPD friction forces even when conservative forces are zero for a given pair.
-
set_params(kT=None, mode=None)¶ Changes parameters.
- Parameters
T (
hoomd.variantorfloat) – Temperature (if set) (in energy units)mode (str) – energy shift/smoothing mode (default noshift).
Examples:
dpdlj.set_params(kT=variant.linear_interp(points = [(0, 1.0), (1e5, 2.0)])) dpdlj.set_params(kT=2.0, mode="shift")
-
-
class
plugin_muMC.pair.lj_mc(r_cut, nlist, name=None, override=0)¶ Bases:
plugin_muMC.pair.pairSets up energy calculations for Monte-Carlo exchanges that use LJ forces.
For each potential alchemical transformations, one of these forces needs to be created (and disabled) and passed to the semi-grand canonical updater