PY 502, Computational Physics, Fall 2016

Department of Physics, Boston University

Instructor: Anders Sandvik

Lectures: Tuesday, Thursday 11 - 12:30, in CAS 327
Programming help & tutorials, Friday 1:30-2:30 PM, in CAS 327
Office hours: Wednesday 11 AM - noon, Thursday 2 - 3 PM, in SCI 316

This course provides an introduction to some of the most widely used methods of computational physics, including numerical solutions of differential equations (initial and boundary value prob- lems) in classical and quantum mechanics, Monte Carlo simulations, and numerical diagonalization of quantum many-body Hamiltonians. In addition to giving the students a basic working knowledge of these particular techniques, the goal is to make them comfortable with scientific computing in general, so that they will be prepared to tackle also other computational problem that they may encounter in the future. The Fortran 90 programming language will be used. The full syllabus is available here.

Course News

Homework 1 posted, due Sep. 27.

Lecture Notes and Program Examples

1) Introduction to the Fortran 90 programming language [Notes] [Programs]
     Lecture slides: [Sep 6] [Sep 8] [Sep 13] [Sep 15]
2) Numerical integration and Monte Carlo sampling [Notes] [Programs]
     Lecture slides: [Sep 20] [Sep 22]

Homework assignments

1) Due: Tuesday, September 27 [Problem text] [Solutions]

On-line Fortran resources

Tutorial by C. K. Shene, Michigan Technological University
List of intrinsic functions in Fortran 90

Graphics tools and resources resources

User's guide for Xmgrace graphing program
2D color intensity plot program
Simple line-fitting program
Tutorial on the PostScript language
File conversion and animation with ImageMagick