Weekly update for week 36

Dear all,

I hope this week started the best possible way. Here coms the weekly digest  for FYS3150/4150.

Last week we discussed in more detail the algorithms for solving linear algebra equations, in particular we discussed the LU decomposition algorithm, how to find the determinant, the inverse of  matrix and solving coupled equations of relevance for project 1. We discussed also how to interpret the results in project 1, in particular with respect to loss of numerical precision and round-off errors. This material is covered in chapters 2, 3.1-3.2 and 6.4 of the lecture notes at https://github.com/CompPhysics/ComputationalPhysics/tree/master/doc/Lectures

 

This week we will end our discussion on linear algebra (chapter 6) by also studying other methods like iterative methods as discussed in chapter 6.6 as well as methods based on spline interpolation (chapter 6.5) where we can use our algorithm from project 1. We will also wrap up our LU discussion with some more hands-on discussion of codes. 

 

Thereafter we will switch to eigenvalue solvers and chapter 7 and start our discussion of project 2.  

 

As a reminder, when we evaluate projects and give you feedback, we follow the guidelines at 

https://github.com/CompPhysics/ComputationalPhysics/blob/master/doc/Projects/ProjectExample/projecteval.txt

 

At the lab we will discuss how to write projects, see for example http://compphysics.github.io/ComputationalPhysics/doc/pub/projectwriting/html/projectwriting-bs.html

and how to work with Qt.

 

Finally, for those of you who wish to plot directly from your c++ program and use matplotlib, there is a very useful header only library (thanks to Mathias)  at https://github.com/lava/matplotlib-cpp.

 

Best wishes for the week to you all,

Morten

 

Publisert 4. sep. 2018 05:45 - Sist endret 4. sep. 2018 05:45