Skip to main content
Till KTH:s startsida Till KTH:s startsida

SF2565 Program Construction in C++ for Scientific Computing 7.5 credits

An advanced course on the object oriented implementation of program systems for Scientific Computing with focus on C++

About course offering

For course offering

Autumn 2024 Start 26 Aug 2024 programme students

Target group

Available for all master program and engineering students from the 3rd study year 

as long as it can be included in your programme.

Part of programme

Master's Programme, Applied and Computational Mathematics, åk 2, Optional

Master's Programme, Applied and Computational Mathematics, åk 2, COMA, Conditionally Elective

Master's Programme, Computer Science, åk 2, CSSC, Recommended

Master's Programme, Computer Simulations for Science and Engineering, åk 2, Conditionally Elective

Periods

P1 (3.5 hp), P2 (4.0 hp)

Duration

26 Aug 2024
13 Jan 2025

Pace of study

25%

Form of study

Normal Daytime

Language of instruction

English

Course location

KTH Campus

Number of places

Places are not limited

Planned modular schedule

Application

For course offering

Autumn 2024 Start 26 Aug 2024 programme students

Application code

50293

Contact

For course offering

Autumn 2024 Start 26 Aug 2024 programme students

Contact

Katarina Gustavsson (katg@kth.se)

Examiner

No information inserted

Course coordinator

No information inserted

Teachers

No information inserted
Headings with content from the Course syllabus SF2565 (Spring 2022–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

  • Object-oriented programming, basic notions in, and syntax of, C++
  • Objects, classes and its definition, constructors and destructors
  • Operators, operator overloading, polymorphism
  • Basics of abstract classes, inheritance, generic programming
  • Selected components of the C++ standard library
  • Structured and unstructured grids, data structures for their implementation
  • Implementation of numerical methods for partial differential equations
  • Efficicient implementation of numerical algorithms

Computer lab work and project tasks.

Intended learning outcomes

The aim of the course consists of providing knowledge how advanced numerical methods and complex algorithms in Scientific Computing can be implemented in C++.

After completion of the course the students can

  • Construct simple classes for often used mathematical objects;
  • Create abstract classes and define simple template classes;
  • Implement data stryctures for manipulating realistic geometry and complex grids for numerically solving partial differential equations;
  • Optimize data structures and algorithms in C++ with respect to efficient computations for large-scale problems.

Literature and preparations

Specific prerequisites

English B / English 6
Single course students: 90 university credits including 45 university credits in Mathematics or Information Technology. English B, or equivalent.

Recommended prerequisites

Advanced course in numerical analysis (SF2520 or similar).

Equipment

No information inserted

Literature

No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F

Examination

  • PRO1 - Project, 3.5 credits, grading scale: P, F
  • TEN1 - Examination, 4.0 credits, grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

http://www.sci.kth.se/institutioner/math/avd/na/utbildning/hederskodex-for-studenter-och-larare-vid-kurser-pa-avdelningen-for-numerisk-analys-1.357185

Other requirements for final grade

Tentamen (TEN1; 4 hp).

Projekt (PRO1; 3,5 hp).

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Mathematics, Technology

Education cycle

Second cycle

Add-on studies

No information inserted

Contact

Katarina Gustavsson (katg@kth.se)