class Mesh(object):
    def __init__(self, lx, ly, lz, dx, dy, dz):
        self.lx = lx
        self.ly = ly
        self.lz = lz
        self.dx = dx
        self.dy = dy
        self.dz = dz

    def mesh_info(self):
        return (lx, ly, lz, dx, dy, dz)

Add mesh class.