How to access to neighbor list in CustomAction #1675
-
I would like to add the properties of the Vicsek model to a system using the WCA potential in NVE. For this purpose, I want to perform the averaging of the direction of the velocities of neighboring particles within a Custom Action. To improve the efficiency of the calculation, I would like to reuse the NeighborList used in Hoomd. I would appreciate it if you could teach me how to do this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I recommend implementing a C++ component that extends HOOMD-blue for the best performance. In Python, you can use |
Beta Was this translation helpful? Give feedback.
I recommend implementing a C++ component that extends HOOMD-blue for the best performance.
In Python, you can use
gpu_local_nlist_arrays
,cpu_local_nlist_arrays
, orlocal_pair_list