Computational Physics
This is a course that I will teach for the fouth time in the spring of 2017.
Lecture Notes: Basics of Linux and C programing, Newtonian Dynamics, Planetary motion, Molecular Dynamics, Monte Carlo.
Sample Codes
- One-dimensional oscillator which can be integrated using Euler or Verlet algorithm, compared to theoretical solution, including convergence analysis: newtonOsc.c
- N coupled one-dimensional oscillators integrated the Verlet algorithm: newtonNOsc.c
- Same code extended to d-dimensions: newtonNOsc.c
- Same code with gravitational interaction: simulating N planets in D dimensions: newtonGrav.c
- Simple sample 3D MD and MC code: LJ3d.c
- Simple sample 3D LB code: LB3d.c
- Makefile for compiling codes Makefile
Back to homepage