Thermodynamics of Inhomogeneous Systems | Synapse