Modelling of multipurpose spintronic devices. (1st January 2015)