computeNeighborListVoxelHash
Posted: Thu Feb 25, 2021 7:57 am
Guys,
I am using computeNeighborListVoxelHash to find all the neighbors of a list of specific atoms, in the system. Basically I want to specify a short stretch of viral DNA, and find all atoms (in this case, other DNA atoms) nearby.
I am not sure I am using this function in the most efficient way, and can't find any documentation on it. Basically what I do is create a particle list containing all the atoms in my system. Then I use computeNeighborListVoxelHash to find all pairs within a certain radius or each other. Lastly, I loop through this list of pairs, and see if either atom in the pair is one of my specific atoms. If so, then the OTHER atom is added to my list of neighbors. When I am done I have a nice little blobbly bubble of atoms near my DNA stretch of interest. This works fine for most applications. But now I am working on an entire viral genome and it is waaaaay too slow.
Is there a way to get the neighbors of specified atoms more directly? Please
thanks
Sam
I am using computeNeighborListVoxelHash to find all the neighbors of a list of specific atoms, in the system. Basically I want to specify a short stretch of viral DNA, and find all atoms (in this case, other DNA atoms) nearby.
I am not sure I am using this function in the most efficient way, and can't find any documentation on it. Basically what I do is create a particle list containing all the atoms in my system. Then I use computeNeighborListVoxelHash to find all pairs within a certain radius or each other. Lastly, I loop through this list of pairs, and see if either atom in the pair is one of my specific atoms. If so, then the OTHER atom is added to my list of neighbors. When I am done I have a nice little blobbly bubble of atoms near my DNA stretch of interest. This works fine for most applications. But now I am working on an entire viral genome and it is waaaaay too slow.
Is there a way to get the neighbors of specified atoms more directly? Please
thanks
Sam