Skip to content

Notebook 01 mse2023 feeback #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: mse-305_2023
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions 01-Atomic_scale_structures.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@
" assert isinstance(output, ase.Atoms), f\"TypeAssert failed: Expected type ase.Atoms but got {type(output)}.\"\n",
" assert len(output) == 1, f\"LenAssert failed: Expected length 1 but got {len(output)}.\"\n",
" assert np.sum(84 == output.numbers) == 1, f\"One Polonium is expected in the molecule. Found {np.sum(84 == output.numbers)} Polonium atom(s).\"\n",
" assert np.allclose(output.cell,3.3596173*np.eye(3)), f\"Unit cell has wrong dimensions.\"\n",
" assert output.cell.shape == (3,3), f\"Unit cell has wrong dimensions.\"\n",
" assert np.allclose(output.cell, 3.3596173*np.eye(3), atol=1e-5,) f\"Unit cell is not correct or not accurate enough.\"\n",
" return fingerprint_ase_atoms(output)\n",
" \n",
" \n",
Expand Down Expand Up @@ -439,10 +440,16 @@
"source": [
"Periodic boundary conditions are not only used to model perfect crystals. They are also used as a practical way to describe bulk systems, while using a finite number of atomic degrees of freedom: the size of the cell and the coordinates of the atoms in a single repeate unit. Compare these two systems:\n",
"\n",
"a) a finite-sized droplet with 10 water molecules\n",
"<img src=\"figures/pbc-1.png\" width=\"400\"/>\n",
"b) a periodic system with a repeat unit of 10 water molecules\n",
"<img src=\"figures/pbc-2.png\" width=\"400\"/>"
"<table style=\"width:100%\">\n",
" <tr>\n",
" <th>a) a finite-sized droplet with 10 water molecules</th>\n",
" <th>b) a periodic system with a repeat unit of 10 water molecules</th>\n",
" </tr>\n",
" <tr>\n",
" <th><img src=\"figures/pbc-1.png\" width=\"400\"/></th>\n",
" <th><img src=\"figures/pbc-2.png\" width=\"400\"/></th>\n",
" </tr>\n",
"</table>"
]
},
{
Expand Down