We present a new discretisation scheme for the Schrodinger equation based on analytic solutions to local linearisations. The scheme generates the normalised eigenfunctions and eigenvalues simultaneously and is exact for piecewise constant potentials and effective masses. Highly accurate results can be obtained with a small number of mesh points and a robust and flexible algorithm using continuation techniques is derived. An application to the Hartree approximation for SiGe heterojunctions is discussed in which we solve the coupled Schrodinger-Poisson model problem selfconsistently.