This is the source file package of the MBE Growth Simulation Code for Mac users. For Windows users, please find the source files and compiled codes using this link.
The code can simulate growth morphology at different conditions for molecular beam epitaxy (MBE). The calculation is based on kinetic Monte Carlo method. The interactive 3D rending is excellent for education purpose.
The code is written using C++ with OpenGL and QT5. To revise or recompile the code, first download QT5. Then, open the downloaded source files (MBEcodeSourceFiles_MAC.zip) with QT5. Make sure your framework has the OpenGL and GLUT libraries.
Code layout is shown below.
By adjusting parameters, the following growth morphologies can be observed.
- Icon.icon: Code icon.
- MBEcodeProject.pro and MBEcodeProject.pro.user: QT5 profile including required libraries
- griddata.cpp and griddata.h: Setting different grid dimensions and related variables.
- main.cpp: Main code.
- myglwidget.cpp, myglwidget.h: OpenGL 3D rending
- results.cpp, results.h: Output Monte-Carlo calculatin results
- solver.cpp, solver.h: KMC solver with thread control
- window.cpp, window.h, and window.ui: QT5 window and widges
For any question, please contact us: Tianshi Wang ([email protected]) & Wei Li ([email protected]).