Difference between revisions of "Basics of C++ by Hakan Nilsson"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
* '''affiliation''': Department of Mechanics and Maritime Sciences, Chalmers University of Technology
 
* '''affiliation''': Department of Mechanics and Maritime Sciences, Chalmers University of Technology
 
* '''contact''': <mail address='hakan.nilsson@chalmers.se' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='hakan.nilsson@chalmers.se' description='author'>click here for email address</mail>
* '''OpenFOAM version''': v1906
+
* '''OpenFOAM version''': v2006
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''origin''': http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/#YEAR_2019
 
* '''origin''': http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/#YEAR_2019
Line 17: Line 17:
 
=Basics of C++=
 
=Basics of C++=
  
The following pdfs will give you an introduction into C++, which is important to understand the programming style of OpenFOAM. This material was created for and during the PhD course in 2019 at Chalmers University of Technology. You will find information on:
+
The following pdfs will give you an introduction into C++, which is important to understand the programming style of OpenFOAM. This material was created for and during the PhD course in 2020 at Chalmers University of Technology. You will find information on:
  
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2019/lectureNotes/basicsOfC++.pdf Basics of C++ and how it is used in OpenFOAM]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/15_basicsOfC++.pdf Basics of C++ and how it is used in OpenFOAM]
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2019/lectureNotes/objectOrientation.pdf Object orientation in C++ and OpenFOAM]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/16_objectOrientation.pdf Object orientation in C++ and OpenFOAM]
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2019/lectureNotes/libraryAndClassOrganizationInOpenFOAM.pdf Library and class organization in OpenFOAM]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/17_libraryAndClassOrganizationInOpenFOAM.pdf Library and class organization in OpenFOAM]
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2019/lectureNotes/aWalkThroughSomeOpenFOAMCode_Vector.pdf A walk through some OpenFOAM code: Vector]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/18_aWalkThroughSomeOpenFOAMCode_Vector.pdf A walk through some OpenFOAM code: Vector]

Revision as of 07:49, 29 January 2021

Go back to Day 13.

Go back to Programming.

Go back to Collection by authors.

Basics of C++

The following pdfs will give you an introduction into C++, which is important to understand the programming style of OpenFOAM. This material was created for and during the PhD course in 2020 at Chalmers University of Technology. You will find information on: