Create a Slab¶
1. Introduction¶
Create one or several slabs of a chosen orientation, thickness and termination from a bulk material.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_slab.ipynb, entry 1.2.1 "Slabs. Create a slab from a bulk material" of made/Introduction.ipynb.
3. Set the parameters¶
The notebook takes the first of the input materials.
Cell 1.1 holds the parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
A list in THICKNESSES creates one slab per thickness instead of THICKNESS.
Section 2 lists the terminations of the surface in the order TERMINATION_INDEX counts them. The overview explains MILLER_INDICES, THICKNESS, VACUUM, USE_ORTHOGONAL_C, USE_CONVENTIONAL_CELL, XY_SUPERCELL_MATRIX, SLAB_TERMINATION_FORMULA and IS_TERMINATIONS_SELECTION_INTERACTIVE.
4. Run and read the result¶
Run the notebook with Run > Run All. The notebook shows a slab for each possible termination from the side and prints the list of terminations. It then shows the slabs it created, each named with its thickness in layers (for example 3L), and passes them back with set_materials, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for creating a slab can be accessed below.
6. Related¶
The following specific examples use this notebook: Island Surface Defect in TiN, High-k Metal Gate Stack, Step Surface Defect on Pt(111) and SrTiO3 Slab.