Thermodynamics in Density-Functional Theory and Force Theorems | Synapse