AlchemicalDOF¶
- class hoomd.md.alchemy.pair.AlchemicalDOF(force, name: str = '', typepair: tuple | None = None, alpha: float = 1.0, mass: float = 1.0, mu: float = 0.0)¶
Alchemical degree of freedom \(\alpha_i\) associated with a specific pair force.
AlchemicalDOF
represents an alchemical degree of freedom to be numerically integrated via analchemical integration method
.Note
To access an alchemical degree of freedom for a particular type pair, query the corresponding attribute in the alchemical pair force instance.
- property alchemical_forces¶
Per particle forces in alchemical alpha space.
\[F_{\mathrm{alchemical},i} = -\frac{\mathrm{d}U_i}{\mathrm{d}\alpha}\](
Loggable
: category=”particle”, default=False)