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

Function finding

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 22, 2010, 13:06
Default Function finding
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
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: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
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: 397
Rep Power: 12
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

Thread Tools
Display Modes

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 On
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 09:31
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14: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 00:35
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 13:46.