Skip to content

Include arbitrary external potential in HPMC #1991

Discussion options

You must be logged in to vote

The Python user facing code must subclass hoomd.hpmc.external.External and be backed by a C++ implementation that subclasses ExternalPotential:

/** Functor that computes interactions of particles with external fields.
ExternalPotential allows energetic interactions to be included in an HPMC simulation. This
abstract base class defines the API for the external energy object, consisting of a the energy
evaluation fuction.
Provide a ExternalPotential instance to IntegratorHPMC. The external potential energy will be
evaluated when needed during the HPMC trial moves.
*/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alessandrosimon
Comment options

Answer selected by alessandrosimon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants