Most convenient way to compute custom pair-level calculations without saving trajectories? #1913
CreditDefaultSwap
started this conversation in
General
Replies: 1 comment 6 replies
-
Yes. This is one of the main reasons why HOOMD-blue has a Python interface.
No. Users are expected to implement custom operations. HOOMD-blue implements only the methods necessary to perform MD and MC simulations. All the built in optimizations and data structures are heavily optimized to provide the best performance in these cases. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I would like to compute some custom pair-based quantity, say,
V=sum_(i>j) v(rij)
where rij is the pair distance and v(.) is some arbitrary function. I am wondering what would be the easiest and fastest way to do this in hoomd directly at the simulation step, rather than saving trajectory files? The reason being that I would be simulating very large systems for a long time and would rather save single scalar values of what I need, rather than entire trajectories for later analysis.
Would doing a custom logging action and computing v(.) from the neighbor lists be the best way? Or is there some other easy, built in way of doing this that I somehow missed in the documentation.
Thank you for the tips and help
Beta Was this translation helpful? Give feedback.
All reactions