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

Function finding

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2010, 13:06
Default Function finding
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Does anyone have a list of most of the important classes in OpenFOAM and their members, including inherited members?

I'm not used to all this digging to find who owns what. Doxygen doesn't give you the inherited members, and it loses track when macros come into play. I'm thinking something like my example below.

class choppedUpClass

Derived from: blah blah blah

Private members:
-blah blah blah
-Bob Loblaw

Public members:
-blah blah blah

Members inherited from insanelyAbstractClassA
-blah blah blah

Members inherited from seeminglyArbitraryFragmentClassB
-blah blah blah
-theFunctionYouWillNeverFind (implemented& inCustom, fileName&.C, fiveLevelsDown& theIncludeTree);

Just wondering!

-dave
marupio is offline   Reply With Quote

Old   January 24, 2010, 16:07
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by marupio View Post
Does anyone have a list of most of the important classes in OpenFOAM and their members, including inherited members?

I'm not used to all this digging to find who owns what. Doxygen doesn't give you the inherited members, and it loses track when macros come into play.
The easiest place to start might just be to re-run doxygen on your files. Note this setting in the Doxyfile:
Code:
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
# inherited members of a class in the documentation of that class as if those
# members were ordinary class members. Constructors, destructors and assignment
# operators of the base classes will not be shown.

INLINE_INHERITED_MEMB  = NO
olesen is offline   Reply With Quote

Old   January 24, 2010, 18:58
Default Exactly what I was looking for!
  #3
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Thanks Mark,

I've done as you suggested, and it is exactly what I was looking for... that saves me from attempting to create something like that myself!

-dave
marupio 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 02:56.