Create an Island on a Slab¶
1. Introduction¶
Create a slab with an island on its surface: atomic layers added within a cylinder, sphere, box or triangular prism.
2. Open the notebook¶
In JupyterLite, the notebook is made/create_island_defect.ipynb, entry 3.1.4 "Island Defect on a Slab" of made/Introduction.ipynb.
3. Set the parameters¶
Cell 1.1 holds the parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | |
SHAPE_PARAMETERS sets the shape of the island, 'cylinder', 'sphere', 'box' or 'triangular_prism', and its dimensions; the commented blocks below it give the parameters of each shape. CENTER_POSITION is the center of the cylinder or the sphere. The overview explains USE_CARTESIAN_COORDINATES.
NUMBER_OF_ADDED_LAYERS is the number of atomic layers the island adds.
DEFAULT_SLAB_PARAMETERS applies when the first input material is not a slab.
4. Run and read the result¶
Run the notebook with Run > Run All. The notebook shows the slab before and after the island is added and passes it back with set_materials, as in Structure Notebooks.
5. Interactive JupyterLite notebook¶
The interactive JupyterLite notebook for creating an island defect can be accessed below.
6. Related¶
The specific example Island Surface Defect in TiN uses this notebook.