Skip to content

Commit b713709

Browse files
committed
update: new config params
1 parent 5e1fcb7 commit b713709

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

other/materials_designer/create_twisted_interface_with_commensurate_lattices.ipynb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"outputs": [],
5252
"source": [
5353
"# Material selection and basic parameters\n",
54-
"FILM_INDEX = 0 # Index in the list of materials, to access as materials[FILM_INDEX]\n",
54+
"FILM_INDEX = 0# Index in the list of materials, to access as materials[FILM_INDEX]\n",
5555
"SUBSTRATE_INDEX = None # Can be None to use same material as film\n",
5656
"\n",
5757
"# Twisted interface parameters\n",
@@ -61,7 +61,7 @@
6161
"\n",
6262
"# Search algorithm parameters\n",
6363
"MAX_REPETITION = 6 # Maximum supercell matrix element value\n",
64-
"ANGLE_TOLERANCE = 0.5 # in degrees\n",
64+
"ANGLE_TOLERANCE = 2.5 # in degrees\n",
6565
"RETURN_FIRST_MATCH = True # If True, returns first solution within tolerance\n",
6666
"\n",
6767
"# Visualization parameters\n",
@@ -187,7 +187,7 @@
187187
")\n",
188188
"\n",
189189
"params = CommensurateLatticeTwistedInterfaceBuilderParameters(\n",
190-
" max_repetition_int=MAX_REPETITION,\n",
190+
" max_supercell_matrix_int=MAX_REPETITION,\n",
191191
" angle_tolerance=ANGLE_TOLERANCE,\n",
192192
" return_first_match=RETURN_FIRST_MATCH\n",
193193
")\n",
@@ -260,8 +260,7 @@
260260
"visualize_materials(selected_interface, repetitions=[1, 1, 1], rotation=\"-90x\")"
261261
],
262262
"metadata": {
263-
"collapsed": false,
264-
"is_executing": true
263+
"collapsed": false
265264
},
266265
"id": "8fa34c8952f76602",
267266
"execution_count": null
@@ -285,8 +284,7 @@
285284
"set_materials(selected_interface)"
286285
],
287286
"metadata": {
288-
"collapsed": false,
289-
"is_executing": true
287+
"collapsed": false
290288
},
291289
"id": "28bebacd2e299c2c",
292290
"execution_count": null

0 commit comments

Comments
 (0)