Pressure tensor of partial-charge and point-dipole lattices with bulk and surface geometries.