Dear PLUMED users/developers,
I'd like to try out some simulations (PLUMED coupled with CP2K on a supercomputing architecture) with a collective variable that would look something like a coordination number, in the sense that I'd need to iterate over distances between pairs of atoms belonging to two groups.
Now, the two groups are quite large in my system, so the first solution I thought about would be to use a Python script to write an extremely long PLUMED input (combining DISTANCE, MATHEVAL and so on). This feels however like a very 'brute force' solution, therefore I would like to know if there are possible alternatives to it (for this case but also in general for the implementation of complex CVs without directly modifying the code of PLUMED).
I haven't found anything by looking online or in this group, so any help is much appreciated.
Thanks in advance, best regards,
Massimo
Center for Molecular Modeling - Ghent University