Square potential barrier (source code)

= Square potential barrier

A piecewise constant barrier of finite width. Exact scattering follows by matching the <wavefunction> and its derivative at its two interfaces; below its height the internal wave number is imaginary.