Dear All,
I want to calculate the interatomic distance by using equal-style as follow:
variable Rdist equal sqrt(…)
So, how to reference the atomic coordinates (x,y,z) by using the atom ID
NOTE: I use reax/c style, so I cannot use “compute bond/local command”.

Dear All,
I want to calculate the interatomic distance by using equal-style as follow:
variable Rdist equal sqrt(.....)
So, how to reference the atomic coordinates (x,y,z) by using the atom ID
NOTE: I use reax/c style, so I cannot use "compute bond/local command".

what do you need that for? it would be easy to do in post-processing...

Dear All,
I want to calculate the interatomic distance by using equal-style as follow:
variable Rdist equal sqrt(.....)
So, how to reference the atomic coordinates (x,y,z) by using the atom ID
NOTE: I use reax/c style, so I cannot use "compute bond/local command".

what do you need that for? it would be easy to do in post-processing...

other than that, please have a look at the documentation: