“…Doping, alloying, and functionalization are common strategies by which the electronic properties of materials can be tuned. In three-dimensional (3D) polycrystalline materials such as metals, ceramics, , and semiconductors, − atomic impurities, and dopants are known to migrate toward surfaces and grain boundaries during high-temperature annealing processes, resulting in an inhomogeneous modification of electronic and structural properties of the material. Such chemical segregation is of great practical importance in applications as diverse as structural steels, electronics, ,,, and electrochemical cells .…”