Recent information on 2D1263, Scientific Computing
- [August 7 2002]
- The next exam will be held on Tuesday August 20, 14-19 in room L21.
- [May 16 2002]
- There will be two different opportunities to take the exam this spring:
30 May or 1 June (more info below). If none of
the dates are suitable there will be an exam in August as well.
- [February 11 2002]
- The previously postponed lecture has been rescheduled for February 22,
13.15-15.00 in 4523.
- [February 8 2002]
- Supplementary lecture notes on
parallel programming & MPI added.
- [February 1 2002]
- Today's lecture has been postponed due to illness.
- [January 23 2002]
- Computer bookings have been confirmed and the schedule is now
completely up to date.
- [January 21 2002]
- Final schedule for lectures posted.
The lecturer is
are teaching assistants, and will answer question regarding computer
laborations outside of scheduled classes.
|Christer||does not answer questions outside of
|Kyoung-Sook||Thursdays 15-17, room 1522|
|Sandy||Wednesdays 16-18, room 4443|
Schedule & Course plan
Overview of techniques for grid generation with emphasis on structured
boundary-fitted grids. Introduction to C++ and object-oriented programming.
Efficiency and optimization for single processor architectures.
Implementation of algebraic grid generator.
|Friday || 1/2||13.15-15.00||4523|
|Monday || 4/2||13.15-15.00||4523
Partial differential equations. Difference approximations on
curvilinear grids and analysis of numerical schemes. Parallel programming
for distributed memory architectures using MPI. Metrics for parallel
performance. Implementation of distributed array class using MPI.
The incompressible Navier-Stokes equations. The structure of a computational
fluid dynamics solver (CFD). Handling of boundary conditions. Brief overview
of existing CFD codes, other parallel architectures and Fortran 90.
Implementation of a parallel CFD solver.
There may be computers available in the labs outside of scheduled classes.
Please refer to
Nada's computer usage page
for more information.
|Tuesday || 7/5||10.00-12.00||orange|
The course literature is handed out during the lectures. The main
text consists of the lecture notes written by
Björn Sjögreen for
the 1999 rendition of the course. Additional material will be made
available in postscript format below as it is distributed.
information on how to view & print postscript files.)
There are three compulsory laborations (2 credits) to be done individually
or in groups of two students.
Each computer laboration must be documented in a report consisting of
the complete source code, sufficient comments and explanations to
understand the program, and results from program execution
(e.g. plots). It is recommended that you submit reports by email to
Kyoung-Sook Moon (
- Algebraic grid generation. Due 15 February 2002.
(lecture notes, pp. 25-26)
- Distributed parallel arrays. Due 22 March 2002.
(lecture notes, pp. 79-81)
- A parallel PDE solver. Due 30 August 2002.
formulation (postscript) +
In addition to the laborations students are required to pass a written
exam (2 credits). There are two opportunities to take the exam during
spring 2002 (you only have to write one of course):
Another exam will be given in August.
- Thursday 30 May, 8.00-13.00, room 4523
- Saturday 1 June, 14.00-19.00, room 4523
Some previous exams with suggested solutions
- generic makefile to compile
& link multiple files in a single command,
see comments in file for instructions.
Save the file to disk (preferably as makefile or Makefile).
Don't use cut-and-paste since the file may be corrupted.
- griddemo.tar -
Matlab grid generation demo. Save the file to disk and
unpack its contents by "tar -xf griddemo.tar".
Six matlab scripts will be extracted to the current directory.
Run griddemo (from Matlab) for a brief overview of the routines.
- starting-point.C -
incomplete source code for getting started with second computer
C++ & Object-oriented programming
The above mentioned numerical analysis sites contain a wealth of links,
some of which are too advanced for this course.
Responsible for this page: Christer Andersson
Technical support: <firstname.lastname@example.org>