OSU Homepage OSU / College of Mathematical and Physical Sciences / Physics

Department of Physics

Physics 6810 Computational Physics
Spring, 2014

Welcome to the Physics 6810 Computational Physics home page!
URL: http://www.physics.ohio-state.edu/~ntg/6810/compphys.php
The course information is available here plus lots of supplementary info. Please check this page regularly.

Recent changes to this page:

Contents


Assignments In and Out of Class

1077 Sessions

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 SessionGuideNotes Packed FilesSlidesHandouts
01/08/14 Session 1 notes [pdf] session01.zip slides [pdf] Printouts of "area" code [pdf]; Unix commands [pdf]; C++ options [pdf]; GSL intro [pdf]; other code printouts [pdf]
01/13/14 Session 2 notes [pdf] session02.zip slides [pdf] Gnuplot basics [pdf]; Gnuplot tutorial; (pdfs of codes are in doc subdirectory of session02.zip)
01/20/14 Session 3 notes [pdf] session03.zip slides [pdf] Fitting with Gnuplot [pdf]; Formatting with C++ Manipulators (UIC notes) [pdf]; integ_test.cpp and integ_routines.cpp [pdf] printouts; derivative_test_simple.cpp [pdf] printout;
01/27/14 Session 4 notes [pdf] session04.zip slides [pdf] Integrals with Singularities [pdf]; printouts for pointer_test.cpp [pdf], derivative_test.cpp [pdf], qags_test.cpp [pdf], eigen_test.cpp [pdf]
02/03/14 Session 5 notes [pdf] session05.zip slides [pdf] Random round-off? [pdf]; nan_test.cpp [pdf]; eigen_tridiagonal.cpp [pdf]; eigen_basis.cpp [pdf]; and harmonic_oscillator.cpp [pdf] printouts
02/10/14 Session 6 notes [pdf] session06.zip slides [pdf] simpson_cosint_openmp.cpp printout [pdf], diffeq_routines.cpp [pdf], diffeq_test.cpp [pdf], and new eigen_tridiagonal_class.cpp (with class definition) [pdf] printouts
02/17/14 Session 7 notes [pdf] session07.zip slides [pdf] diffeq_oscillations.cpp [pdf]; eigen_basis_class.cpp (first pass) [pdf]
02/24/14 Session 8 notes [pdf] session08.zip
session08_linux.zip
slides [pdf] Plots of damped oscillations [pdf]; filename_test.cpp printout [pdf]; GnuplotPipe class printout [pdf]; diffeq_pendulum.cpp printout [pdf]; nonlinear Mathematica notebook;
03/03/14 Session 9 notes [pdf] session09.zip slides [pdf] Circle class and test printout [pdf]; private_vs_public printout [pdf] GDB debugger quick reference [pdf] "Using the GDB debugger" [pdf]
03/10/14 Session 10 notes [pdf] session10.zip slides [pdf] GslSpline printout [pdf]; ode_test.cpp printout [pdf]; GSL interpolation [pdf]; Pendulum Power Spectra [pdf]
03/17/14 Session 11 notes [pdf] session11.zip slides [pdf] Pendulum Power Spectra [pdf]; ode_test_class.cpp and classes printout [pdf]; multifit_test.cpp printout [pdf]; multimin_test.cpp printout [pdf]; GSL documentation on nonlinear least squares fitting; GSL documentation on multidimensional minimization
03/27/14 Session 12 notes [pdf] session12.zip slides [pdf] man pages for random, urandom [pdf]; gaussian_random.cpp printout [pdf]; random_walk.cpp printout [pdf]; RandomWalk_test.cpp printout [pdf]; input_check.cpp printout [pdf]; factorial_debug.cpp printout [pdf];
04/01/14 Session 13 notes [pdf] session13.zip slides [pdf] sampling_test.cpp printout [pdf]; ising_model.cpp printout [pdf]; ising_opt.cpp printout [pdf];
04/09/14 Session 14 notes [pdf] session14.zip   autocorrelation_test.cpp printout [pdf]; variational_SHO.cpp printout [pdf]

Return to Contents

Supplementary Readings

A complete copy of M. Hjorth-Jensen's 2013 notes on "Computational Physics" is available as a PDF file.

Class PeriodReadingTopic
01/06/14 M. Hjorth-Jensen, Preface (pdf) and Table of Contents (pdf) Preface and Table of Contents
01/06/14 M. Hjorth-Jensen, Ch. 1 (pdf) Overview: Why C++ and Designing programs.
01/08/14 M. Hjorth-Jensen, Ch. 2 (pdf) C++ (and Fortran) and Representation of Numbers.
01/15/14 M. Hjorth-Jensen, Ch. 3 (pdf) Numerical Differentiation (read sections 3.1 and 3.2.2 and also look at 3.3 on classes).
01/15/14 M. Hjorth-Jensen, Ch. 5 (pdf) Numerical Integration.
01/29/14 M. Hjorth-Jensen, Ch. 6 (pdf) and Ch. 7 (pdf) Linear Algebra and Eigensystems.
02/12/14 M. Hjorth-Jensen, Ch. 8 (pdf) Differential Equations.
03/17/14 M. Hjorth-Jensen, Ch. 3.2 (pdf) Numerical Interpolation, Extrapolation and Fitting of Data.
03/24/14 M. Hjorth-Jensen, Ch. 11 (pdf) Outline of the Monte-Carlo Strategy
03/26/14 M. Hjorth-Jensen, Ch. 12 (pdf) Random walks and the Metropolis Algorithm
04/07/14 M. Hjorth-Jensen, Ch. 13 (pdf) Monte Carlo Methods in Statistical Physics
04/07/14 M. Hjorth-Jensen, Ch. 14 (pdf) Quantum Monte-Carlo Methods
04/14/14 M. Hjorth-Jensen, Ch. 15 (pdf) Many-body approaches to studies of electronic systems

Return to Contents

Problem Sets and Hints

Click on the problem set number to get a copy of the assignment. Note that there is a "target date" rather than a "due date". You need to make progress by then, but I anticipate it will take some of you longer to fully complete the assignment (after getting feedback).

Target DateAssignmentComments
01/24/14 #1a [pdf] hints, suggestions, etc.
01/28/14 #1b [pdf] hints, suggestions, etc.
02/15/14 #2 [pdf] hints, suggestions, etc.
03/21/14 #3 [pdf] hints, suggestions, etc.
04/10/13 #4 [pdf] Progress report on your project.

Return to Contents


Handouts (printed and computer)

General Handouts (printed)

Last UpdatedHandoutComments
30-Dec-2011 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.
27-Dec-2010 GSL Introduction (pdf) GNU Scientific Library description from the online reference manual.
30-Dec-2011 Unix Commands (pdf) "Some Useful Unix Commands" based on various web summaries
01-Jan-2014 Gnuplot basics (pdf) "Plotting Data from a File with Gnuplot"
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"
12-Jan-2012 Using X-Win32 (pdf) Instructions for using X-Win32 on the Physics Department computers.
01-Jan-2004 C++ Manipulators (pdf) "Formatting with Manipulators" -- brief guide found on the web.
16-Nov-2003 Bash Prompt HOWTO (pdf) Creating and controlling terminal and xterm Bash prompts, compiled by Giles Orr.

Return to Contents


Computer Codes and Makefiles

[Stay tuned!]

Return to Contents


Mathematica Example Notebooks

The Mathematica example notebooks used in the graduate Math Methods course are available. Take a look!

If the notebook doesn't open automatically in Mathematica when you click on the link, "right click" to save it first (to the Desktop or a session folder) and start it from within Mathematica.

Last RevisedNotebookComments

Return to Contents


Your comments and suggestions are appreciated.
[OSU Physics] [Math and Physical Sciences] [Ohio State University]
OSU Physics: Physics 6810 Computational Physics.
Last modified: 08:01 am, January 12, 2016.
furnstahl.1@osu.edu