Weekly update October 2

Hi all again!  

Project 3 is now available, a simple git pull gives you everything new or just use the quick link at http://compphysics.github.io/ComputationalPhysics/doc/web/course and scroll down to Project 3.

The source files (html and latex and pdf++) are at https://github.com/CompPhysics/ComputationalPhysics/tree/master/doc/Projects/2017/Project3

 

This week we will discuss in more detail project 3, which deals with the development of a code that simulates the solar system. We will discuss the equations, proper scaling of the equations  and how to turn them into a general code which can be used to study similar systems (one of the versions of project 5 deals with molecular dynamics and the structures developed here can be reused in that version of project 5).

This means that we will discuss object orientation (see chapter 3 and also the teach yourself c++ slides http://compphysics.github.io/ComputationalPhysics/doc/pub/learningcpp/html/learningcpp-bs.html

 

In order to do this, we will, after having discussed the basic equations and mathematics on Thursday (first lecture) switch to the basics of object orientation in the second lecture. At the lab, we will also use the first 45 mins of each session to show simple OO examples that you can use in developing the program for project 3. 

 

Friday's lecture deals also with Project 3 plus a discussion of adaptive methods and if we get time, we will start with numerical integration (chapter 5) and then Monte Carlo methods.

 

Best wishes to you all,

Morten

Publisert 3. okt. 2017 23:28 - Sist endret 3. okt. 2017 23:28