Probe-Particle / ppafm

Classical force field model for simulating atomic force microscopy images.
MIT License
49 stars 18 forks source link

Wrong scaling of electric field with tip distance for an arbitrary tip origin #238

Closed mondracek closed 9 months ago

mondracek commented 9 months ago

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.