Skip to content

Implementing a Anisotropic pair potential which applies a torque depending on the particles angular momenta. #1743

Answered by joaander
khofmann6 asked this question in Support
Discussion options

You must be logged in to vote

You cannot access the particle velocity or angular momentum. The AnisoPotentialPair infrastructure assumes that the energy, force, and torque on a pair of particles is a function of their relative positions and orientations only. You can derive a custom class from ForceCompute that relaxes these assumption.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by joaander
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