SMS: Large-scale inhomogeneous thermodynamics