An application for generating customizable slabs and interfaces for first-principles simulations.
This code is based on the A. Zur et al. paper: "Lattice match: An application to heteroepitaxy, Journal of applied physics 55(2) (1984) 378-386".
-
⭐️ Please STAR this repository if you find it helpful :)
-
✉️ Please contact us (gliu4@wpi.edu; yzhong@wpi.edu) for any questions or suggestions.
-
Upload Your Structures: In the
Upload Your Structuressection, you can upload the conventional cell of the lower and upper systems in VASP format (.vasp/.poscar). After successfully uploading the files, you will see the structure of the lower and upper systems displayed below the section. -
Define Miller Indices: In the
Define Miller Indicessection, you can define the maximum Miller indices of h, k, l for lower and upper slabs. If you are interested in specific Miller indices, you can assign them by checking theAssign Specific Miller Indices for Lower and Upper Systemscheckbox. This will allow you to input the Miller indices directly. -
Set Lattice Match Parameters: In the
Set Lattice Match Parameterssection, you can set the tolerance for the misfit of lattice vectors (in %) and angle (in degree). The default values are 5% for the misfit of lattice vectors and 5 degrees for the angle. You can adjust these values according to your needs. -
Customize the Interface Geometry: In the
Customize the Interface Geometrysection, you can customize the interface geometry including the minimum thickness of the slab, slab vacuum, interface gap, area range for the matched interfaces, and the shape filter option. Note that checking theShape Filteroption will only keep the square-like interfaces, which will help to reduce the number of interfaces generated. -
Generate Interfaces: After setting all the parameters, click the
Generate Interfacesbutton. The program will generate all possible interfaces based on the parameters you set. The interface generation details will be displayed in theInterface Generation Detailssection. -
Download the Generated Interfaces: After the interface generation is complete, you can download the generated interfaces in a zip file. The zip file will contain the generated interface structures in VASP format (.vasp/.poscar) and profiles in .txt and .csv formats. The profiles include the atoms, Miller indices, area, lattice matching misfit, and transformation matrix.
If you use this code in your research, please cite our paper:
@article{
title={A computational framework for interface design using lattice matching, machine learning potentials, and active learning: A case study on LaCoO3/La2NiO4},
author={G. Liu and S. Yang and Y. Zhong},
journal={Materials Today Physics},
volume={59},
pages={101940},
year={2025},
issn={2542-5293},
doi={10.1016/j.mtphys.2025.101940},
}