CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Programmerfriendly code writing how do you do that (

kar January 24, 2008 10:40

Hello! Some time ago I was

Some time ago I was writing applications with IDEs like DevC++, MS Visual Studio etc and there were such nice things like code completion, class tree viewing and others.
Now it's KDevelop and OpenFOAM - is it possible to make code reviewing and editing easier than just alphabetically ordered text files?

Thank you,

anger January 25, 2008 05:12

Hello Kärlis, for my progra
Hello Kärlis,

for my programming work (which is mainly python) I use eclipse ( which is a very powerful IDE supporting several languages (also C++) and platforms.
However, I don't know how OpenFOAM could be integrated into this IDE, nor did I do any tests on that.


dmoroian January 25, 2008 06:07

Hi Kārlis, Here you can find
Hi Kārlis,
Here you can find how to setup kdevelop:
On the same page there is a wiki link which shows you how to setup NetBeans.


kar January 25, 2008 08:41

The main problem is that I can
The main problem is that I cannot make code-completion work in KDevelop.
For example - it would be nice, if KDevelop could give me output about what is fvm or fvc!

gschaider January 25, 2008 08:56

Hi Karlis! Please keep in m
Hi Karlis!

Please keep in mind that OF relies heavily on templates and in my experience all these IDEs (especially concerning code completion) work fine with purly object oriented languages but fail with the generic programming (templates). Multiple inheritance might also be a problem (most of the discussed IDEs - Eclipse, Netbeans - come from the Jave-world==Single inheritance)

At the end of the day Emacs and Grep still might be your best friends


kar January 25, 2008 12:33

Thank you, Bernhard, looks lik
Thank you, Bernhard, looks like you're right!

All times are GMT -4. The time now is 07:26.