Shadow molecular dynamics for flexible multipole models | Synapse