use the the variable command to flag specific atoms to exclude from a group
Dear LIGGGHTS users!
I want to use the variable command to include and exclude the specific particles from a group, and I used the similar commands like that in the Docs as following:
compute 1 all pe/atom
compute 2 all reduce sum c_1
thermo_style custom step temp pe c_2
run 0
variable eatom atom "c_1 > -3.0"
group hienergy variable eatom