Skip to content
Discussion options

You must be logged in to vote

You are correct, AngularStep makes no distinction between like-like and like-unlike for individual elements in the mask. However, the isotropic potential that it multiplies does. I think you could use Union to achieve the behavior you describe, though it is a bit convoluted. You need 4 particle types (A, B, P1, P2). Use e.g. a step potential between A and B to implement the like-like and like-unlike interactions. Use that as the isotropic potential with AngularStep to implement only 1 directional patch on each of A and B. Due to the way HOOMD-blue handles particle types, you also need to set interaction parameters for P1, P2, and all the cross terms involving P1 and P2 (even if they are 0…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@hyper-aperiodic
Comment options

@joaander
Comment options

@hyper-aperiodic
Comment options

@joaander
Comment options

@hyper-aperiodic
Comment options

Answer selected by hyper-aperiodic
Comment options

You must be logged in to vote
0 replies
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