Microscopic properties of lithium, sodium, and magnesium battery anode materials related to possible dendrite growth | Synapse