Spin transport property of Cr2C based nanoscale devices: A first principle study