Skip to content

Commit

Permalink
Update Tutorial_PbTe.ipynb
Browse files Browse the repository at this point in the history
Added the "k_offset = [0, 0, 0]" into the tutorial.
  • Loading branch information
diegomartinez2 authored May 15, 2023
1 parent 1ec3aff commit edae01c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tutorials/PbTe/Tutorial_PbTe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@
"# (You can substitute the following two lines with the calculator you prefer)\n",
"input_params[\"calculation\"] = \"scf\" # Setup the simple DFT calculation\n",
"\n",
"k_offset = [0, 0, 0]\n",
"espresso_calc = Espresso(pseudopotentials = pseudos, input_data = input_params, kspacing = k_spacing, koffset = k_offset)\n",
"\n",
"# Now we use the espresso calculator to compute all the configurations\n",
Expand Down Expand Up @@ -927,6 +928,7 @@
"# We generate the ASE espresso calculator\n",
"input_params[\"calculation\"] = \"scf\" # Setup the simple DFT calculation\n",
"\n",
"k_offset = [0, 0, 0]\n",
"espresso_calc = Espresso(pseudopotentials = pseudos, input_data = input_params, kspacing = k_spacing, koffset = k_offset)\n",
"\n",
"# Now we use the espresso calculator with the cluster to send the calculation in the remote cluster.\n",
Expand Down

0 comments on commit edae01c

Please sign in to comment.