You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stru_type (Literal["cif", "poscar", "abacus/stru"]): Type of structure file. Defaults to "cif".
23
22
miller_indices (Tuple[int, int, int]): Miller indices of the surface. Defaults to (1, 0, 0), which means (100) surface of the structure.
24
23
layers (int, optional): Number of layers of the surface. Note that the layers is number of equivalent layers, not number of layers of atoms. Defaults to 3.
25
-
supercell_2d (Tuple[int, int], optional): Supercell size of the surface. Default is (1, 1), which means no supercell.
26
-
vacuum (float, optional): Vacuum space along on both sides of the cleaved surface. The total vacuum size will be twice this value. Units in Angstrom. Defaults to 10.0.
24
+
surface_supercell (Tuple[int, int], optional): Supercell size of the surface. Default is (1, 1), which means no supercell.
25
+
vacuum (float, optional): Vacuum space between the cleaved surface and its periodic image. The total vacuum size will be twice this value. Units in Angstrom. Defaults to 15.0.
27
26
vacuum_direction (Literal['a', 'b', 'c']): The direction of the vacuum space. Defaults to 'b'.
28
27
Returns:
29
28
A dictionary containing the path to the surface structure file.
30
29
Keys:
31
-
- surface_stru_file: Path to the surface structure file.
30
+
- surface_stru_file: Path to the surface structure file. The format of the generated structure file depends on the input structure file.
stru_type (Literal["cif", "poscar", "abacus/stru"]): Type of structure file. Defaults to "cif".
22
22
miller_indices (Tuple[int, int, int]): Miller indices of the surface. Defaults to (1, 0, 0), which means (100) surface of the structure.
23
23
layers (int, optional): Number of layers of the surface. Note that the layers is number of equivalent layers, not number of layers of atoms. Defaults to 3.
24
-
supercell_2d (Tuple[int, int], optional): Supercell size of the surface. Default is (1, 1), which means no supercell.
25
-
vacuum (float, optional): Vacuum space along on both sides of the cleaved surface. The total vacuum size will be twice this value. Units in Angstrom. Defaults to 10.0.
24
+
surface_supercell (Tuple[int, int], optional): Supercell size of the surface. Default is (1, 1), which means no supercell.
25
+
vacuum (float, optional): Vacuum space between the cleaved surface and its periodic image. The total vacuum size will be twice this value. Units in Angstrom. Defaults to 15.0.
26
26
vacuum_direction (Literal['a', 'b', 'c']): The direction of the vacuum space. Defaults to 'b'.
27
27
Returns:
28
28
A dictionary containing the path to the surface structure file.
29
29
Keys:
30
-
- surface_stru_file: Path to the surface structure file.
30
+
- surface_stru_file: Path to the surface structure file. The format of the generated structure file depends on the input structure file.
0 commit comments