JJPPeters / clTEM

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

Custom padding should be reflected inside the kernels #100

Open JJPPeters opened 5 years ago

JJPPeters commented 5 years ago

Custom padding usually represents the maximum distance we want to consider an atom from. Currently this just sets the simulation area/slice positions. However, the kernels for potential calculations still use hard coded values and will ignore values outside that range.