|
48 | 48 | "# Defect parameters\n", |
49 | 49 | "DEFECT_TYPE = \"adatom\"\n", |
50 | 50 | "PLACEMENT_METHOD = \"coordinate\"\n", |
51 | | - "HOLLOW_SITE_COORDINATE = [1/2, 1/2]\n", |
52 | | - "BRIDGE_SITE_COORDINATE = [3/8, 1/2]\n", |
53 | | - "TOP_SITE_COORDINATE = [7/12, 5/12]\n", |
| 51 | + "# Using crystal coordinates for the defect placement\n", |
| 52 | + "USE_CARTESIAN_COORDINATES = False \n", |
| 53 | + "HOLLOW_SITE_COORDINATE = [1/2, 1/2] # in crystal coordinates\n", |
| 54 | + "BRIDGE_SITE_COORDINATE = [3/8, 1/2] # in crystal coordinates\n", |
| 55 | + "TOP_SITE_COORDINATE = [7/12, 5/12] # in crystal coordinates\n", |
54 | 56 | "\n", |
55 | 57 | "# Setting data according to Table 1 in the manuscript, distance_z is the `h` from the table.\n", |
56 | 58 | "# Uncomment the lines to create the defect for the desired adatom.\n", |
|
180 | 182 | " placement_method=PLACEMENT_METHOD,\n", |
181 | 183 | " chemical_element=adatom_parameters[\"chemical_element\"],\n", |
182 | 184 | " distance_z=adatom_parameters[\"distance_z\"],\n", |
183 | | - " position_on_surface=adatom_parameters[\"position_on_surface\"]\n", |
| 185 | + " position_on_surface=adatom_parameters[\"position_on_surface\"],\n", |
| 186 | + " use_cartesian_coordinates=USE_CARTESIAN_COORDINATES\n", |
184 | 187 | " ) for adatom_parameters in ADATOM_PARAMETERS]\n", |
185 | 188 | "\n", |
186 | 189 | "defect_builder_parameters = PointDefectBuilderParameters()" |
|
0 commit comments