Hello All,
I am trying to find the location of an atom that has the highest bond distance. Following the commands suggested in the “compute reduce” section:
compute 1 all property/local batom1 batom2
compute 2 all bond/local dist
compute 3 all reduce max c_1[1] c_1[2] c_2 replace 1 3 replace 2 3
thermo_style custom step temp c_3[1] c_3[2] c_3[3]
c_3[1] corresponds to the atom ID of the first atom in the pair that has the largest distance. How do I use the atom ID to get the location (x,y,z) for that specific atom (c_3[1])?
-Emil