|
Contents:
Computational simulations are a standard tool in astrophysics. In this
lecture we present basic numerical methods for the simulation of
physical problems based on relevant examples from
astrophysics, exercises in C/C++
and Fortran are included. As Fortran is very common in
astrophysics, this lecture also contains an introduction to Fortran.
This course is part I of the specialization "Computational Astrophysics".
Certificate of attendance:
- without mark, e.g., Master of Astrophysics, module PHY-765:
"Topics in Advanced Astrophysics" (this module has in total 12 CP!):
at least 1./3. of the total points of the (weekly) exercises
Subsequent lectures (for the Specialization Track "Computational Astrophysics")
Exercises (pdf):
Most of the exercises are programming tasks in
C/C++. You need access to a Linux (see links below)
or Mac computer for
the tasks with graphical output (X11) or programming
skills in a graphical toolkit under Windows.
You can get an account in the student's computer lab,
which is also accessible via ssh (see Links). Contact me for that.
|
|
Lectures (pdf):
-
Introduction - Working with Unix/Linux
(2.0 MB)
Hands on Linux
Introduction (script)
Detailed informationen about login with SSH and VNC
on the computers of the student's computer cluster:
login_ssh_vnc_en.pdf
-
gnuplot (249 kB)
-
FYI: Brief intro to LaTeX (1.4 MB)
-
Review C/C++ (568 kB)
Hands on C++
-
Errors, libraries, make, X11 (410 kB)
-
The two-body problem (366 kB)
-
The three-body problem and integration of
the Newtonian equations of motion
(4 MB)
-
Application ODE: The Lane-Emden equation
(309 kB)
-
Numerical Integration and Differentiation
(347 kB)
-
Overview: Differential equations, Boundary
value problems
(280 kB)
-
Finding roots, interpolation
(982 kB)
-
Monte-Carlo simulations
(362 kB)
-
MC integration, random walks, tests for
randomness (810 kB)
-
Why MC integration, Techniques of
parallelization, OpenMP
(381 kB)
-
Insert: data analysis, bootstrapping
(579 kB)
-
Linear Algebra
(418 KB)
-
Introduction to Fortran
(7.6 MB)
|