The Density Gradient Method has been implemented as a simulation example for DEVSIM. This method is a quantum mechanical correction for carrier densities near a semiconductor/insulator interface.
The example scripts simulate both a 1D and 2D MOSCAP structure. The scripts generate plots to visualize the results.
It can be downloaded from https://github.com/devsim/devsim_density_gradient.