I'm trying to write a program to calculate the neighbor lists of crystal systems. I found a few codes that are able to calculate it for orthogonal systems. How can I do it for non-orthogonal cells ?
The first link mentions a transformation from non-orthogonal to orthogonal representation. If I do this transformation how can I get back to the original lattice with the corresponding distances ?
Some examples that I found interesting are:
Some theory and parts of codes