|
[Sponsors] |
April 6, 2005, 16:55 |
HI,
I have some knowledge i
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
HI,
I have some knowledge in MS Visual C++. It have a nice GUI. Once a project is open, all classes and functions are there. Is there anything similar under Linux/C++? How do I find something like mesh.updateTopology() in OpenFOAM for example? Thanks! Pei |
|
April 6, 2005, 17:06 |
foamsrc
find . -type f -nam
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
foamsrc
find . -type f -name "*.[CH]" -exec grep "::updateTopology()" {} \; -print
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
April 6, 2005, 17:10 |
Have you tried searching the D
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Have you tried searching the Doxygen documentation? It is supplied with the release but is also accessible from the openfoam web site with the search-engine setup.
|
|
April 7, 2005, 06:04 |
You could try KDevelop (I don'
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
You could try KDevelop (I don't use it myself; I've only tried to import the OF-sources and that seems to work). It has a built class browser. My experience is that Class browsers (including the one in Visual C++) have problems if templates are used in a non-trivial way, but your milage may vary.
An alternative (for browsing the code) could be to import the sources on a Windows-Machine into Visual C++.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
April 7, 2005, 09:37 |
Hi,
Thanks for all the tips
|
#5 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
Thanks for all the tips. I did try to use doxygen. Sometimes, I was not able to find what I was looking for - I am not use to it yet. Hi, Bernhard, I am going to give KDevelop a try. I also have MS Visual C++ on my laptop, so, I will also give this a try. The question is: is there a top level project of OpenFOAM that I can open? Pei |
|
April 7, 2005, 11:12 |
When I tried KDevelop I create
|
#6 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
When I tried KDevelop I created a new C++-project in the directory OpenFOAM-1.1/src. After that KDevelop asked me whether I wanted to import all the C++-Files in that directory.
Don't know about Visual C++, but it should work similar.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
May 17, 2005, 12:18 |
Hello
Is there anybody who
|
#7 |
New Member
alain nguenkem kamgang
Join Date: Mar 2009
Location: Stuttgart, Baden würtemberg, Germany
Posts: 3
Rep Power: 17 |
Hello
Is there anybody who knows where i can found more informations on how to use Salome. or does some of you knows a book on the Topics , because the help is not Clear enough. please i am waiting for your Answers. Thanks. |
|
May 17, 2005, 12:45 |
The 'Programmers C++ Doxygen'
|
#8 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
The 'Programmers C++ Doxygen' button on http://www.opencfd.co.uk/openfoam/doc/index.html
works fine for me. Looks like your browser does not recognize javascript. |
|
May 17, 2005, 19:12 |
I think that PHP is needed in
|
#9 |
Guest
Posts: n/a
|
I think that PHP is needed in searching in Doxygen on the local machine.
I set Apache with PHP on my Unix box and access to http://MyMachine/~Me/OpenFOAM/OpenFO.../Doxygen/html/ and searching goes well. |
|
December 18, 2006, 12:10 |
hi
I am new with C++ and Open
|
#10 |
New Member
morteza mirsaeedi
Join Date: Mar 2009
Posts: 6
Rep Power: 17 |
hi
I am new with C++ and OpenFoam programming. I searched in doxygen but i can not use it. How can i starting programming in OpenFoam. Ofcourse i know about OO programming but the names and classes in doxygen are confused me. How can i start? thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
C question | kar | OpenFOAM Running, Solving & CFD | 26 | May 20, 2008 07:05 |
Question concerning VOF | Flora | FLUENT | 2 | July 9, 2007 10:50 |
question about LES | gino briganti | FLUENT | 3 | June 27, 2005 07:05 |
A question | zhhuang | Siemens | 0 | April 29, 2003 02:44 |
The question about Y+ | rambol | CFX | 2 | November 7, 2002 10:40 |