|
[Sponsors] |
January 20, 2017, 13:25 |
Function definition
|
#1 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi all,
again it is me... I have a question about the function definition of chemistry.solve() function in the chemFoam solver. In the solveChemistry.H file we find the chemistry.solve(scalar) function. Chemistry is a reference of a pointer of class psiChemistryModel. Sofar so good. If I check the class psiChemistryModel, I probably cannot find the solve() function. Therefore I went to the parent class basicChemistryModel.H. Here we will find the virtual declaration of the function function. However the solve function is defined in the chemistryModel class but I am not able to link the libraries Can someone explain how it works? I should re-read the virtual function stuff again. Thanks in advance.
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
foamToTecplot360 | thomasduerr | OpenFOAM Post-Processing | 121 | June 11, 2021 10:05 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 04:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |