Investigation of mechanical properties and thermal stability of the thinnest tungsten nanowire by density functional theory