The model code for the paper:
Solbrå A, Bergersen AW, van den Brink J, Malthe-Sørenssen A, Einevoll GT, Halnes G (2018) A Kirchhoff-Nernst-Planck framework for modeling large scale extracellular electrodiffusion surrounding morphologically detailed neurons. PLoS Comput Biol 14:e1006510 is available at the authors github repository: https://github.com/CINPLA/KNPsim