coding problem in Openfoam
Hi everyone, right now I am reading the code in openfoam. I usually read this definition like this: const scalar time = this->owner().solution().trackTime();
so what does the owner mean? I mean is it a class or a file name? And I never found the definition for "TrackData". Any help? Thanks. |
owner is a member function for the current dynamically allocated object. What class are you exploring? If you want better understanding of the inheritance that happens in OF, use the doxygen documentation:
http://www.openfoam.org/docs/cpp/ You can search for the member owner and see what the function is all about. Looks like the return type has a member named solution which has a member named trackTime. Morpheus: This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland and I show you how deep the rabbit-hole goes. |
Thanks man!
|
All times are GMT -4. The time now is 21:08. |