Computational Statistical Mechanics — Lab sessions

← Back to the home page of the personal website

Slides of the lab sessions (academic year 2026-27). During the labs we write, from scratch, simple C++ codes for Monte Carlo and Molecular Dynamics simulations.

Downloads

📦 C++ examples (ZIP) 📦 Project classes (ZIP)
  • C++ examples: the examples shown in the labs so far (folder examples/).
  • Project classes: the classes of the project you are writing (project/; for now pvector.hpp and its test pvector.cpp).

Both archives grow as the labs go on.

Labs

Lab Topic
Lab 1 Development environment (WSL 2), introduction to C++ (part I), a first vector class