Theory of structural phase transitions in a trapped Coulomb crystal | Synapse