Spring, 2016

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.

- 04-Apr-2016 --- Assignment #4, which is just a progress report on your project, is available under Assigned problems, hints, and solutions.
- 28-Mar-2016 --- April 22 is our last class period. Projects are due at the end of Monday, May 2. Session guides and homework can be turned in for credit until 5pm on Thursday, April 28.
- 28-Mar-2016 --- Some of you still have work to do on PS#3. Please try to get that done soon so that you can focus on your project.
- 20-Mar-2016 --- If you haven't already sent an email to furnstahl.1@osu.edu about your project ideas (problem 1 from Assignment #3), please do so early this week.
- 07-Mar-2016 --- For those trying the bonus problem for Assignment #1, here is a gnuplot plot file with an example of how to plot a histogram.
- 26-Feb-2016 --- Assignment #3, which includes a call to think about a project topic, is available under Assigned problems, hints, and solutions. Don't forget to check the hints! [Note: the target date is now Friday, March 11.]
- 22-Feb-2016 --- It's not too early to start thinking about a project.
You can build on one of the activities from class (many interesting ones are still
to come!), work on something related to your research, or try something completely
different.
The eTextBook
*A Survey of Computational Physics*by Landau, Paez, and Bordeianu is a good source of projects (e.g., any of the Explorations). There is a project idea list (you preliminary idea will be requested as part of PS#3) from past years to get ideas. Note the very wide range of suggestions. - 27-Jan-2016 --- X-Win32 is program you can use to log into the Physics Department Linux machines from your own Windows PC. See Piazza for a question and answer on how to get and use it.
- 27-Jan-2016 --- Local versions of chapters from the 2nd edition of Numerical Recipes in C is available. Username and password to be given in class.
- 22-Jan-2016 --- For those new to C++ or just rusty, the C++ Language Tutorial from www.cplusplus.com is a compact overview (but not including C++11 or C++14). Or try their online tutorial.
- 15-Jan-2016 --- We will use Piazza for questions and answers. The Piazza home page for 6810 is https://piazza.com/osu/spring2016/physics6810/home. If you are registered, you will get an official enrollment email today.

- Course description and info, and gameplan. [For your info: 2014 course pages.]
- Class meetings in Sm1094
- Assignments
- General handouts and computer codes

The following table will be filled in with materials and references as we proceed.
The *current* links --- shown in light green --- have "before" links that should
be read before class, "in-class" materials that we will use in our
two-hour meeting, and "extra" references that you can use to follow up.

Return to Contents

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

Return to Contents

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 Date | Assignment | Comments |
---|---|---|

01/29/16 | #1a [pdf] | hints, suggestions, etc. |

02/05/16 | #1b [pdf] | hints, suggestions, etc. |

02/19/16 | 2 [pdf] | hints, suggestions, etc. |

03/11/16 | #3 [pdf] | hints, suggestions, etc. |

04/11/16 | #4 [pdf] | Progress report on your project. |

Return to Contents

Last Updated | Handout | Comments |
---|---|---|

12-Jan-2016 | C++ Options (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. |

11-Jan-2016 | Unix Commands (pdf) | "Some Useful Unix Commands" based on various web summaries |

06-Jan-2014 | Gnuplot 4.6 manual (pdf) | "Gnuplot 4.6: An Interactive Plotting Program" |

01-Jan-2014 | Gnuplot basics (pdf) | "Plotting Data from a File with Gnuplot" |

28-Mar-2008 | Gnuplot fitting (pdf) | "Finding the Slope of XY Data from a File with Gnuplot" |

12-Jan-2010 | Gnuplot plot files (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. |

01-Apr-2008 | Tricky Integrals (pdf) | "Integrals with Singularities or Discontinuous Derivatives" |

09-Jan-2011 | Round-off Errors (pdf) | A simple empirical investigation of the distribution of round-off errors. |

07-Mar-2008 | GDB Debugger (pdf) | "Using the GDB Debugger" -- A tutorial by example. |

10-Mar-2011 | Gnuplot 3d plots (pdf) | "Three-Dimensional Plots with Gnuplot" |

Return to Contents

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 Revised | Notebook | Comments |
---|---|---|

23-Sep-2011 | Calculate area | A simple Mathematica notebook defining a function to calculate the area of a circle, including forcing numerical output and multiple definitions of a function with different numbers of arguments. Also, making it into a program. |

23-Sep-2011 | Defining n! | Mathematica notebook with many ways to define n!. |

23-Sep-2011 | Rolling dice | Mathematica notebook that simulates the rolling of dice, where the outcome is a random integer from 1 to 6. Histograms are generated for different numbers of "trials" (i.e., throws of the dice), providing visualization of how the fluctuations scale with the number of trials. |

25-Sep-2011 | 3D Square Well | Mathematica notebook to find the eigenvalues of a spherical three-dimensional square well by matching solutions. |

12-Feb-2009 | Nonlinear Differential Equations | Mathematica notebook analyzing the Duffing equation. |

12-Feb-2009 | Nonlinear Differential Equations: Pendulum | Mathematica notebook analyzing the physical pendulum. |

04/18/02 | Fourier Transform Pictures | Mathematica notebook showing in pictures how to project Fourier coefficients. |

04/18/02 | Square Wave | Mathematica notebook showing a square wave being built from sine waves. |

Return to Contents

Your comments and suggestions are appreciated.

[OSU Physics] [Math and Physical Sciences] [Ohio State University]

Last modified: 11:42 am, October 26, 2016.

furnstahl.1@osu.edu