Skip to content

Commit

Permalink
Changes to S_01: Very minor edits..
Browse files Browse the repository at this point in the history
  • Loading branch information
ialcon committed Jun 14, 2024
1 parent fd48be6 commit 37a2b61
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions S_01/run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@
" siesta RUN.fdf > RUN.out\n",
"\n",
" - Go through the output of Siesta to get used to it, also to assert that it ran without errors (always do this!) ((always, **always** do THIS!))\n",
" - Ensure the SCF has indeed converged, Siesta will, by default, die if it hasn't converged the SCF.\n",
" - Ensure that the self-consistent field (SCF) has indeed converged, Siesta will, by default, die if it hasn't converged the SCF.\n",
" \n",
"2. Use `sisl` to read in the electronic structure (the Hamiltonian), there are several ways of doing this, for now you should try these two methods:\n",
"2. Use `sisl` to read-in the electronic structure (the Hamiltonian). There are several ways of doing this, for now you should try these two methods:\n",
"\n",
" H_fdf = sisl.Hamiltonian.read('RUN.fdf')\n",
" H_TSHS = sisl.Hamiltonian.read('siesta.TSHS')\n",
" \n",
" print the objects and note the difference between the two objects.\n",
" Print the objects and note the difference between the two objects.\n",
" What do you think these differences mean? (it isn't relevant for this tutorial, but it will be in later tutorials).\n",
" \n",
"3. Calculate the $\\Gamma$-point eigen-spectrum using both above Hamiltonians (search the sisl documentation for `eigh`), are they different? If so, why, if not, why not?\n",
"3. Calculate the $\\Gamma$-point eigen-spectrum using both above Hamiltonians (search the `sisl` documentation for `eigh`). Are they different? If so, why, if not, why not?\n",
"\n",
"4. Calculate the band-structure using the DFT electronic structure using `sisl`. Also calculate the band-structure using the tight-binding Hamiltonian ([TB 1](../TB_01/run.ipynb)) and compare the two. \n",
"*HINT*: zoom in on an energy-range from $-3$ eV to $3$ eV and plot both the DFT bands and the TB bands in the same plot. "
"*HINT*: Zoom in on an energy-range from $-3$ eV to $3$ eV and plot both the DFT bands and the TB bands in the same plot. "
]
},
{
Expand Down Expand Up @@ -102,7 +102,7 @@
"eigs = band.eigh()\n",
"ax.plot(lk, eigs)\n",
" \n",
"# You need to create the TB Hamiltonian, see e.g. example TB 1\n",
"# You need to create the TB Hamiltonian, see e.g. TB_01\n",
"band.set_parent(<TB Hamiltonian>)\n",
"eigs = band.eigh()\n",
"ax.plot(lk, eigs, '--')"
Expand Down

0 comments on commit 37a2b61

Please sign in to comment.