Solid-state dimer method for calculating solid-solid phase transitions | Synapse