CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFoam classes vs libraries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2018, 02:10
Default OpenFoam classes vs libraries
  #1
Member
 
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 10
alinuman15 is on a distinguished road
Greetings for All:
How could someone recognize the library from the class?
It is known that they both have declaration and implementation files , we could recognize class from the library via preceding the class by the word class in its declaration file whereas it is not the case in the library and finally the way of their declaration and compilation is different. However, if it is clear about the need for some classes to be created ( or derived from other base classes) for performing some tasks which are not available in the OpenFoam, it is not clear about the library. What are the general features ( attributes) which make the library a library ? What are the circumstances we need to initiate a new library ? Is it enough to prepare a bunch of classes to achieve the same goal for which a library is created?
I understand that there is a good information available about the OpenFOAM libraries in the link:-
https://www.openfoam.com/documentati...p#x34-137001r3

But it is not enough to answer the above questions
Thanks for any idea or comment!
My best.
alinuman15 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
OpenFOAM cloud computing on Rescale with custom libraries LukaD OpenFOAM Running, Solving & CFD 5 September 11, 2015 09:38
How to get access to the functions inside the shared libraries in OpenFOAM mohsenCFDonline OpenFOAM Programming & Development 3 March 25, 2015 04:36
Creating a customized software tool using OpenFoam libraries vishnu_240 OpenFOAM 1 January 19, 2015 07:56
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25


All times are GMT -4. The time now is 06:07.