[lammps-users] pressure tensor in thermo_style command

Dear all

Lammps manual says that pxx, pyy, pzz, pxy…(in thermo_style command) are the pressure tensor.
I guess these are the pressure tensor for whole system.
My question is ;
How does Lammps define pressure tensor specifically?
What is the algorithm for calculating pressure tensor in Lammps?

Any help would be greatly appreciated.

Justin

Dear all

Lammps manual says that pxx, pyy, pzz, pxy...(in thermo_style command) are
the pressure tensor.
I guess these are the pressure tensor for whole system.
My question is ;
How does Lammps define pressure tensor specifically?
What is the algorithm for calculating pressure tensor in Lammps?

how about looking it up in the documentation?
e.g. at: http://lammps.sandia.gov/doc/compute_pressure.html

axel.