|February 24, 2012, 10:26||
calling a non OF class from OF?
Join Date: Dec 2010
Posts: 8Rep Power: 6
I would like to call a class that is plain C++, not OF related, from OpenFOAM.
The code compiles but if I start the application I get a printStack error related to that class. Do I have to adjust the external class or do I have to tell OF that an external one is called? Or is it not possible at all?
Thanks a lot for every help!
|February 25, 2012, 13:26||
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 101Rep Power: 6
Can you post more details?
What do you mean by calling a class?
I assume that you included the proper headers and put the location of the libraries in the "Make/options" file.
Are you sure that the class is being instantiated before you try to use it?
Without these details I doubt anyone can really see what the problem is.
|Thread||Thread Starter||Forum||Replies||Last Post|
|thobois class engineTopoChangerMesh error||Peter_600||OpenFOAM||4||August 2, 2014 09:52|
|Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug||unoder||OpenFOAM Installation||11||January 30, 2008 21:30|
|How to add a new class locally||ville||OpenFOAM||4||December 11, 2006 14:20|
|About UList and List class||leosding||OpenFOAM Running, Solving & CFD||1||December 2, 2005 00:52|
|Expanding a class||fabianpk||OpenFOAM||0||October 3, 2005 04:26|