JJPPeters / clTEM

OpenCL accelerated multislice simulation for electron microscopy.
https://jjppeters.github.io/clTEM/
13 stars 3 forks source link

Simulation doesnt include atoms in bottom left corner of padding area #103

Closed JJPPeters closed 5 years ago

JJPPeters commented 5 years ago

when the simulation area is set within a structure, atoms are included in the padding everywhere except the bottom left hand corner.

JJPPeters commented 5 years ago

Issue was related to a range check that excluded the 0 bins (in both xy and z it seems) fixed by recent commit to master.