Ivanlh20 / multem

MULTEM is a powerful and advanced collection of C++ routines with CUDA support, designed to perform efficient and accurate multislice simulations for various TEM experiments such as HRTEM, STEM, ISTEM, ED, PED, CBED, ADF-TEM, ABF-HC, EFTEM, and EELS.
GNU General Public License v3.0
66 stars 26 forks source link

What is the need for adding crystalline_materials to path while compiling? #20

Open Quantumstud opened 6 years ago

Quantumstud commented 6 years ago

In the readme file, it has been mentioned that while compiling we have to add the 'crystalline_materials' to the MATLAB path. I think 'crystalline_materials' contains a set of sample crystalline materials which are used in the examples. Therefore, I am confused why is it necessary to add 'crystalline_materials' to the MATLAB path while compiling?

thomasaarholt commented 6 years ago

Pretty sure it is so that the examples can run. Commands like Au001Crystal() are taken directly from the crystalline_materials.

Quantumstud commented 6 years ago

Just out of curiosity, will not including these files impact the compilation of the code?

thomasaarholt commented 6 years ago

Only if they are called. I believe they should not be.

Quantumstud commented 6 years ago

Yeah! This doesn't affect the compilation or the results.