Logo ČVUT
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2024/2025

Engineering Computing in C++ 2

Login to KOS for course enrollment Display time-table
Code Completion Credits Range Language
132XPV2 Z 1 1P+1C Czech
Course guarantor:
Tomáš Koudelka
Lecturer:
Tomáš Koudelka
Tutor:
Tomáš Koudelka
Supervisor:
Department of Mechanics
Synopsis:

Advanced course of C++ programming language addressed to the design of software for engineering problems.

Requirements:

Course participants should be familiarized with the basic knowledge of non-objective (procedural) programming in C++, matrix and vector calculus and theory of elasticity.

Syllabus of lectures:

Overview of non-object features of C++ language - repetition

Creating a program composed of multiple files, development environments

The concept of classes

Constructors and destructors

Inheritance

Virtual methods

Program on the general stiffness method 1 - program structure design

Program on the general stiffness method 2 - design of input data format

Program on the general stiffness method 3 - the concept of classes for nodes, supports and members

Program on the general stiffness method 4 - construction of the stiffness matrix and the right-hand side vector

Program on the general stiffness method 5 - solving the system of equations

Program on the general stiffness method 6 - calculation of internal forces

Syllabus of tutorials:

Installation of the development environment, basic procedures in the development environment

Using input and output streams from the standard C++ library

Classes for matrices and vectors

Creating constructor and destructor for matrix and vector classes

Using inheritance in computer programs

Using virtual methods in computational programs

Creating a program on the general stiffness method 1 - designing the program structure

Creating a program on the general stiffness method 2 - routines for reading input data

Creating a program on the general stiffness method 3 - creating classes for nodes, supports and members

Creating a program on the general stiffness method 4 - routines for constructing the stiffness matrix, and the right-hand side vector

Creating a program on the general stiffness method 5 - routine for solving a system of equations

Creating a program on the general stiffness method 6 - routine for calculating internal forces

Study Objective:

The course objective is to introduce the basics of object oriented programming in C++ and the design and structure of software used for the mechanical computations in engineering practice.

Study materials:

Miroslav Virius - Programování v C++

Bruce Eckel - Thinking in C++, 2nd ed. Volume 1

Note:
Time-table for winter semester 2024/2025:
Time-table is not available yet
Time-table for summer semester 2024/2025:
Time-table is not available yet
The course is a part of the following study plans:
Data valid to 2024-12-18
For updated information see http://bilakniha.cvut.cz/en/predmet5129606.html