Hi
Think i have two types of atom suppose ‘1’ and ‘2’, now i am using pair_style lj/cut, i want to calculate the potential due type ‘1’. Can anyone help me how i can calculate this.
Thanks
Chadnan
Hi
Think i have two types of atom suppose ‘1’ and ‘2’, now i am using pair_style lj/cut, i want to calculate the potential due type ‘1’. Can anyone help me how i can calculate this.
Thanks
Chadnan
Use compute pe/atom on a group that only contains type 1 atoms,
then sum the per-atom result via compute reduce.
Steve