There was still a mistake in my implementation of arbitrary origin for the grid, #229. It concerbed the zpos variable defined in ppafm/cli/generateElFF.py. The KPFM simulation was affected when starting with electrostatic potentials in CUBE files. I am now linking a pull request that should solve the issue.
There was still a mistake in my implementation of arbitrary origin for the grid, #229. It concerbed the
zpos
variable defined inppafm/cli/generateElFF.py
. The KPFM simulation was affected when starting with electrostatic potentials in CUBE files. I am now linking a pull request that should solve the issue.