[lammps-users] Invoke atom velocity using the last version

Steve,

In the last version, i got the following errors when i wanted to invoke atom velocity. With previous version, this worked.

variable CX atom (vx[]*(c_KE[]+c_PE[]))
compute Jcx all reduce sum v_CX

lammps gave me: “ERROR: Empty brackets in input command”

how to fix this issue?

cheers,

Ajing

Steve,

In the last version, i got the following errors when i wanted to invoke atom
velocity. With previous version, this worked.

variable CX atom (vx[]*(c_KE[]+c_PE[]))
compute Jcx all reduce sum v_CX

lammps gave me: "ERROR: Empty brackets in input command"

how to fix this issue?

by removing the empty brackets??

axel.

yes, it woks, Thanks, Axel.