AMPS I · Week 01 — Poisson’s Equation, Numerical Quadrature, First DOLFINx Solver

File What When
W01_lecture.html (.qmd source) Lecture slides — Parts 0, A, B, C, D in class
W01_lab.ipynb (Colab) In-class lab: MPI, quadrature, Poisson solver, convergence, LLM demo in class (≈ 80 min)
W01_HW0.ipynb (Colab) HW0 — Colab environment + debugging an LLM-generated solver + your own LLM-assisted solver due before Week 2
W01_HW1.ipynb (Colab) HW1 — Quadrature accuracy: proofs, Basix, Newton–Cotes vs Gauss, variational crimes due before Week 2
../dolfinx_0.11_api_reference.md DOLFINx 0.11 API reference sheet — paste it into your LLM always

Open a notebook in Colab: click its link on the course page or below — it opens in Colab; then File → Save a copy in Drive and work on that copy. (Or upload the .ipynb to Google Drive → right-click → Open with → Google Colaboratory.) Run the setup cell first (≈ 3–5 min); re-run it after every runtime restart.

Before submitting: Runtime → Restart session and run all, fill in the AI-usage log, download the .ipynb. An error inside a %%fenicsx cell does not stop Run all: the traceback is printed and the next cell runs anyway. Scroll through every output before you submit. A cell that printed a traceback, and any plot that uses its results, earns no points.

Week 2 starts with a 10-minute quiz on this week’s material (closed-AI).