A new approach to the self-consistent solution of the Schroedinger-Poisson Equations in nanowire MOSFETs