Skip to content

Performing efficient Widom insertions #1695

Answered by mphoward
lequieu asked this question in Support
Discussion options

You must be logged in to vote

Looks like I wrote the comment you are referring to. :)

When I did this with HOOMD 2 for LJ-type particles, I was able to do the insertion quite efficiently by doing multiple insertions in parallel. I think I made the test particle its own type, and I disabled the interactions between test particles by setting r_cut=False for those pairs. For each frame, I added Ntest particles at random positions using the snapshot interface, and I computed the potential energy of the configuration. For pair potentials, the change in energy due to the insertion of a test particle should be 2x the energy assigned to the test particle (since half the pair energy goes to each particle in a pair). You can th…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@lequieu
Comment options

@joaander
Comment options

@lequieu
Comment options

Comment options

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

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