I am simulating a box with the non periodic boundary conditions in z direction and periodic boundary conditions (pbc) along x and y in LAMMPS. I want to know that how the pressure tensor is calculated in this system with no pbc along z? Does this non periodicity of box would affect the calculation of pressure tensor in LAMMPS or it would be calculated in the same way as in the case of pbc?