Skip to content

Commit 0cfd94a

Browse files
Merge pull request #125 from SSCHAcode/diegomartinez2-patch-1
Update Tutorial_PbTe.ipynb
2 parents 9efb152 + 8e1d059 commit 0cfd94a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Tutorials/PbTe/Tutorial_PbTe.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@
570570
"# (You can substitute the following two lines with the calculator you prefer)\n",
571571
"input_params[\"calculation\"] = \"scf\" # Setup the simple DFT calculation\n",
572572
"\n",
573+
"k_offset = [0, 0, 0]\n",
573574
"espresso_calc = Espresso(pseudopotentials = pseudos, input_data = input_params, kspacing = k_spacing, koffset = k_offset)\n",
574575
"\n",
575576
"# Now we use the espresso calculator to compute all the configurations\n",
@@ -927,6 +928,7 @@
927928
"# We generate the ASE espresso calculator\n",
928929
"input_params[\"calculation\"] = \"scf\" # Setup the simple DFT calculation\n",
929930
"\n",
931+
"k_offset = [0, 0, 0]\n",
930932
"espresso_calc = Espresso(pseudopotentials = pseudos, input_data = input_params, kspacing = k_spacing, koffset = k_offset)\n",
931933
"\n",
932934
"# Now we use the espresso calculator with the cluster to send the calculation in the remote cluster.\n",

0 commit comments

Comments
 (0)