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

Department of Physics

Physics 6810 Computational Physics
Spring, 2013

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

1094 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 FilesHandouts
01/09/13 Session 1 notes [pdf] session01.zip Printouts of "area" code [pdf]; Unix commands [pdf]; C++ options [pdf]; GSL intro [pdf]; Other Session 1 code printouts [pdf]
01/11/13 Session 2 notes [pdf] session02.zip Gnuplot basics [pdf]; Gnuplot tutorial;
01/16/13 Session 3 notes [pdf] session03.zip 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/23/13 Session 4 notes [pdf] session04.zip Integrals with Singularities [pdf]
01/25/13 Session 5 notes [pdf] session05.zip Random round-off? [pdf]; nan_test.cpp [pdf]; eigen_tridiagonal.cpp [pdf]; eigen_basis.cpp [pdf]; and harmonic_oscillator.cpp [pdf] printouts
02/01/13 Session 6 notes [pdf] session06.zip 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/08/13 Session 7 notes [pdf] session07.zip diffeq_oscillations.cpp [pdf]; eigen_basis_class.cpp (first pass) [pdf]
02/15/13 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/20/13 Session 9 notes [pdf] session09.zip Circle class and test printout [pdf]; private_vs_public printout [pdf] GDB debugger quick reference [pdf] "Using the GDB debugger" [pdf]
02/27/13 Session 10 notes [pdf] session10.zip GslSpline printout [pdf]; ode_test.cpp printout [pdf]; GSL interpolation [pdf]; Pendulum Power Spectra [pdf]
03/01/13 Session 11 notes [pdf] session11.zip 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/07/13 Session 12 notes [pdf] session12.zip 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];
03/20/13 Session 13 notes [pdf] session13.zip sampling_test.cpp printout [pdf]; ising_model.cpp printout [pdf]; ising_opt.cpp printout [pdf];
03/29/13 Session 14 notes [pdf] session14.zip autocorrelation_test.cpp printout [pdf]; variational_SHO.cpp printout [pdf]
04/10/13 Session 15 notes [pdf] session15.zip MPI example printouts: class version [pdf]; function version [pdf];
04/17/13 Session 16 notes [pdf] session16.zip gnuplot 3d plots [pdf]; PDE code printouts [pdf]
04/19/13 Session 17 notes [pdf] session17.zip   multimin_sa_compare.cpp printout [pdf];

Return to Contents

Supplementary Readings

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

Class PeriodReadingTopic
01/09/13 M. Hjorth-Jensen, Preface (pdf) and Table of Contents (pdf) Preface and Table of Contents
01/09/13 M. Hjorth-Jensen, Ch. 1 (pdf) Overview: Why C++ and Designing programs.
01/11/13 M. Hjorth-Jensen, Ch. 2 (pdf) C++ (and Fortran) and Representation of Numbers.
01/16/13 M. Hjorth-Jensen, Ch. 3 (pdf) Numerical Differentiation (read sections 3.1 and 3.2).
01/16/13 M. Hjorth-Jensen, Ch. 5 (pdf) Numerical Integration.
01/25/13 M. Hjorth-Jensen, Ch. 6 (pdf) and Ch. 7 (pdf) Linear Algebra and Eigensystems.
02/01/13 M. Hjorth-Jensen, Ch. 8 (pdf) Differential Equations.
02/25/13 M. Hjorth-Jensen, Ch. 3.2 (pdf) Numerical Interpolation, Extrapolation and Fitting of Data.
03/07/13 M. Hjorth-Jensen, Ch. 11 (pdf) Outline of the Monte-Carlo Strategy
03/20/13 M. Hjorth-Jensen, Ch. 12 (pdf) Random walks and the Metropolis Algorithm
03/22/13 M. Hjorth-Jensen, Ch. 13 (pdf) Monte Carlo Methods in Statistical Physics
03/22/13 M. Hjorth-Jensen, Ch. 14 (pdf) Quantum Monte-Carlo Methods
TBA 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.

Due DateAssignmentComments
01/23/13 #1 [pdf] hints, suggestions, etc.
02/07/13 #2 [pdf] hints, suggestions, etc.
03/04/13 #3 [pdf] hints, suggestions, etc.
04/10/13 #4 [pdf] Progress report on your project.
04/29/13 Project Hand in all files to your 6810 Dropbox.

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-2013 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: 02:24 pm, October 20, 2013.
furnstahl.1@osu.edu