答复: how to compute the sum of |Zi-Zave|

Please post to the list, not to me.

Something like this should work,

compute zave reduce ave z
variable diff atom abs(z-c_zave)

Steve

image002.png