Respected Lammps users, I am using lammps windows version 2023 mpi. I need to calculate vornoi volume of the system to get peratom virial stress conversion to stress peratom. I need to ask if I calculate vornoi volume using global scalar using the mention script commands rather than to calculate vornoi vector. Will it give the correct result as mentioned here? If I use id 1 as c_[1]. Is it fine to calculate vornoi volume. Is there any way to calculate per atom array for which each atom have different volume printed with corresponding atom ID rather then per atom vector having the same peratom value at the given time step. If so how to command in lammps? In addition what should be the corresponding fix command to evaluate per atom array and peratom vector?
Thanks
compute peratomvol all c_cvor
variable peratomvol1 equal c_cvor```