F2222 C++ for physicists 2

Faculty of Science
spring 2018
Extent and Intensity
0/2/0. 2 credit(s). Type of Completion: z (credit).
Ing. Mgr. Bc. Ján Dugáček, Ph.D. (seminar tutor)
Mgr. Jiří Vohánka, Ph.D. (seminar tutor)
Guaranteed by
prof. RNDr. Mirko Černák, CSc.
Department of Physical Electronics - Physics Section - Faculty of Science
Contact Person: Ing. Mgr. Bc. Ján Dugáček, Ph.D.
Supplier department: Department of Physical Electronics - Physics Section - Faculty of Science
Understanding of physics on high school level
Course Enrolment Limitations
The course is offered to students of any study field.
The capacity limit for the course is 20 student(s).
Current registration and enrolment status: enrolled: 0/20, only registered: 0/20, only registered with preference (fields directly associated with the programme): 0/20
Course objectives
The goal is to learn to use C++ to solve computational tasks in physics.

Numerical methods are not the subject of this course.
Learning outcomes
Students will learn:
- how C and C++ work with memory
- how to practically group data into objects
- how to use more processor cores
- and how to create a graphical user interface
  • 1. Introduction, revision
  • 2. Graphical user interface
  • 3. Graphical user interface 2
  • 4. Parallelisation
  • 5. Parallelisation 2
  • 6. Using GPU for computation
  • 7. Dependency compilation
  • 8. 3D visualisation
  • The rest according to discussion
  • VIRIUS, Miroslav. Od C k C++. 1. vyd. České Budějovice: KOPP, 2000. 227 s. ISBN 8072321102. info
  • LOUIS, Dirk, Petr MEJZLÍK and Miroslav VIRIUS. Jazyky C a C++ podle normy ANSI/ISO : kompletní kapesní průvodce. 1. vyd. Praha: Grada, 1999. 643 s. ISBN 8071696315. info
  • MEYERS, Scott. Effective C++ : 50 specific ways to improve your programs and designs. 2nd ed. Reading: Addison-Wesley, 1998. xx, 256. ISBN 0201924889. info
  • VIRIUS, Miroslav. Programování v C++. 1. vyd. Praha: ČVUT, 1998. 364 s. ISBN 8001018741. info
  • VIRIUS, Miroslav. Pasti a propasti jazyka C++ : podrobný průvodce pokročilého uživatele. 1. vyd. Praha: Grada, 1997. 251 s. ISBN 8071696072. info
  • STROUSTRUP, Bjarne. The C++ programming language. 3rd ed. Reading: Addison-Wesley, 1997. x, 910. ISBN 0201889544. info
Teaching methods
Consultative exercises with a short theoretical introduction. Students are expected to bring their own laptop. Operating system Linux is strongly advised (or Windows 10 with WSL).
Assessment methods
Finishing a project demonstrating ability to write a program that solves the chosen task
Language of instruction
Further Comments
The course is taught annually.
The course is taught: every week.
The course is also listed under the following terms Spring 2019.
  • Enrolment Statistics (spring 2018, recent)
  • Permalink: https://is.muni.cz/course/sci/spring2018/F2222