Welcome to the Physics 780.20 Computational Physics home page!
URL: http://www.physics.ohio-state.edu/~ntg/780/compphys.php
The course information is available here plus lots of supplementary
info. Please check this page regularly.
Copies of any handouts are available from Prof. Furnstahl or online below. After the first class, please read the session notes before that session meets.
| Date of Session | Guide | Notes | Packed Files | Handouts |
|---|---|---|---|---|
| 01/04/10 | Session 1 | notes [pdf] | session01.zip | Printouts of "area" code [pdf] [ps]; Unix commands [ps]; C++ options [pdf] [ps]; GSL intro [ps]; Other Session 1 code printouts [pdf] [ps] |
| 01/06/10 | Session 2 | notes [pdf] | session02.zip | Gnuplot basics [pdf]; Gnuplot tutorial; |
| 01/11/10 | Session 3 | notes [pdf] | session03.zip | Fitting with Gnuplot [pdf] [ps]; Formatting with C++ Manipulators (UIC notes) [pdf]; integ_test.cpp and integ_routines.cpp [pdf] [ps] printouts; derivative_test_simple.cpp [pdf] [ps] printout; |
| 01/20/10 | Session 4 | notes [pdf] | session04.zip | Gnuplot plot files [pdf] [ps]; Integrals with Singularities [pdf] [ps]; |
| 01/25/10 | Session 5 | notes [pdf] | session05.zip | Random round-off? [pdf] [ps]; nan_test.cpp [ps], eigen_tridiagonal.cpp [ps], eigen_basis.cpp [ps], and harmonic_oscillator.cpp [ps] printouts |
| 01/27/10 | Session 6 | notes [pdf] | session06.zip | diffeq_routines.cpp [ps], diffeq_test.cpp [ps] and new eigen_tridiagonal_class.cpp (with class definition) [ps] printouts |
| 02/03/10 | Session 7 | notes [pdf] | session07.zip | diffeq_oscillations.cpp [ps]; eigen_basis_class.cpp (first pass) [ps] |
| 02/08/10 | Session 8 | notes [pdf] |
session08.zip
session08_linux.zip |
Plots of damped oscillations [pdf] [ps]; filename_test.cpp printout [ps]; GnuplotPipe class printout [ps]; diffeq_pendulum.cpp printout [ps]; nonlinear Mathematica notebook; |
| 02/10/10 | Session 9 | notes [pdf] | session09.zip | Circle class and test printout [ps]; private_vs_public printout [ps]; |
Return to Contents
A complete copy of M. Hjorth-Jensen's 2009 notes on "Computational Physics" is available as a PDF file.
| Class Period | Reading | Topic |
|---|---|---|
| 01/04/10 | M. Hjorth-Jensen, Preface (pdf) and Table of Contents (pdf) | Preface and Table of Contents |
| 01/04/10 | M. Hjorth-Jensen, Ch. 1 (pdf) | Overview of Computational Physics and what is covered. |
| 01/06/10 | M. Hjorth-Jensen, Ch. 2 (pdf) | C++ and Representation of Numbers. |
| 01/11/10 | M. Hjorth-Jensen, Ch. 3 (pdf) | Numerical Differentiation. |
| 01/11/10 | M. Hjorth-Jensen, Ch. 7 (pdf) | Numerical Integration. |
| 01/13/10 | M. Hjorth-Jensen, Ch. 4 (pdf) and Ch. 12 (pdf) | Linear Algebra and Eigensystems. |
| 01/27/10 | M. Hjorth-Jensen, Ch. 13 (pdf) | Differential Equations. |
Return to Contents
Click on the problem set number to get a copy of the assignment.
| Due Date | Assignment | Comments |
|---|---|---|
| 01/15/10 | #1 [pdf] | hints, suggestions, etc. |
| 01/29/10 | #2 [pdf] | hints, suggestions, etc. |
| 02/19/10 | #3 [pdf] | hints, suggestions, etc. |
Return to Contents
You (mostly) have your choice of postscript (ps) or PDF format.
| Last Updated | Handout | Comments |
|---|---|---|
| 04-Jan-2005 | C++ Options (ps) (pdf) | "Recommended C++ Options" -- options for g++ (GNU compiler) and icpc (Intel compiler) based on the recommendations in the GSL Reference manual. |
| 04-Jan-2005 | GSL Introduction (ps) | GNU Scientific Library description from the online reference manual. |
| 01-Jan-2009 | Gnuplot basics (pdf) | "Plotting Data from a File with Gnuplot" |
| 16-Mar-2006 | Gnuplot manual (pdf) | "Gnuplot -- An Interactive Plotting Program" |
| 28-Mar-2008 | Gnuplot fitting (ps) (pdf) | "Finding the Slope of XY Data from a File with Gnuplot" |
| 12-Jan-2010 | Gnuplot plot files (ps) (pdf) | "Using a Plot File with Gnuplot" |
| 01-Apr-2008 | Tricky Integrals (ps) (pdf) | "Integrals with Singularities or Discontinuous Derivatives" |
| 01-Jan-2005 | Unix Commands (ps) | "Some Useful Unix Commands" based on various web summaries |
Return to Contents
Return to Contents
If you use Internet Explorer on a Windows machine, selecting a Mathematica notebook link should automatically open Mathematica with that notebook. On Macs or linux machines or using other browsers, you can set this behavior.
| Last Revised | Notebook | Comments |
|---|
Return to Contents
| Last Revised | Script/Program | Comments |
|---|
Return to Contents