Interplay of Charge and Magnetic Orders in SmNiC
2 Mediated by Electron-Phonon Interaction
Using diffuse/inelastic x-ray scattering and Raman spectroscopy, we show that electron-phonon coupling drives the charge density wave (CDW) in SmNiC$_2$. A soft acoustic phonon triggers the incommensurate CDW, and a second Kohn anomaly appears at the commensurate CDW vector seen in other $R$NiC$_2$ compounds. The two phonons soften differently with temperature, indicating competing ordering tendencies. The CDW amplitude mode collapses abruptly when ferromagnetism emerges, even though Kohn anomalies persist in the ferromagnetic state, revealing that the electron-phonon interaction tunes the balance between charge and magnetic orders.