F1222 C++ for physicists

Faculty of Science
Autumn 2018
Extent and Intensity
0/2/0. 2 credit(s). Type of Completion: z (credit).
Teacher(s)
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 Plasma Physics and Technology – Physics Section – Faculty of Science
Contact Person: Ing. Mgr. Bc. Ján Dugáček, Ph.D.
Supplier department: Department of Plasma Physics and Technology – Physics Section – Faculty of Science
Timetable
Mon 17. 9. to Fri 14. 12. Wed 18:00–19:50 Fcom,01034
Prerequisites
Basic knowledge of some imperative programming language
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:
- basic program control
- how to practically group data into objects
- how to use C++ for computational tasks
Syllabus
  • 1.Introduction, getting IDE to work
  • 2. Setting variables, printing, if
  • 3. Cycles
  • 4. Vectors, other STL
  • 5. Practicing cycles
  • 6. Reserved
  • 7. Functions, references
  • 8. Practice
  • 9. Input parsing
  • 10. Creating classes, unique pointers
  • 11. Using C++ functions and classes in Python
  • 12. Reserved
  • 13. Practice
Literature
    recommended literature
  • STROUSTROUP, Bjarne. Programming: Principles and Practice Using C++. 2. vyd.
    not specified
  • MEYERS, Scott. Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)
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
Completing enough homeworks on time
Language of instruction
Czech
Follow-Up Courses
Further Comments
Study Materials
The course is taught annually.
The course is also listed under the following terms autumn 2017, Autumn 2019.
  • Enrolment Statistics (Autumn 2018, recent)
  • Permalink: https://is.muni.cz/course/sci/autumn2018/F1222