about the command ——compute pressure

Dear all ,
I am running an MD simulation with lammps. When I use the command that compute pressure , I can obtain six stress vectors ,pxx,pyy,pzz,pxy,pyz,pzx. But I don’t know what pxx stands for . Is it the average stress of system in x direction ? Or others ? Whether we can equal the pxx with the macro stress ?
Many thanks for your reply .

Dear all ,
     I am running an MD simulation with lammps. When I use the command
that compute pressure , I can obtain six stress vectors
,pxx,pyy,pzz,pxy,pyz,pzx. But I don't know what pxx stands for . Is it the
average stress of system in x direction ? Or others ? Whether we can equal
the pxx with the macro stress ?

​those six numbers form a *tensor* as explained in the documentation. pxx,
pyy, pzz are the diagonal elements of that tensor and the other the
off-diagonal elements. ​