Accurate heat flux formula and thermal conductivity calculation in molecular dynamics simulations with machine learning potentials | Synapse