C++/CUDA package for parallelized simulation of image formation in Scanning Transmission Electron Microscopy (STEM) using the PRISM and multislice algorithms
The last character is dropped when reading in atoms from .xyz input files. Currently testing a fix on dev-colin branch, changing:
line = line.substr(line.find_first_not_of(" \n\t"), line.find_last_not_of(" \n\t"));
to
line = line.substr(line.find_first_not_of(" \n\t"), line.find_last_not_of(" \n\t"))+1;
The last character is dropped when reading in atoms from .xyz input files. Currently testing a fix on dev-colin branch, changing:
line = line.substr(line.find_first_not_of(" \n\t"), line.find_last_not_of(" \n\t")); to line = line.substr(line.find_first_not_of(" \n\t"), line.find_last_not_of(" \n\t"))+1;