CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Programmerfriendly code writing how do you do that

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2008, 10:40
Default Hello! Some time ago I was
  #1
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 8
kar is on a distinguished road
Hello!

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,
Kārlis.
kar is offline   Reply With Quote

Old   January 25, 2008, 05:12
Default Hello Krlis, for my progra
  #2
Member
 
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 60
Rep Power: 8
anger is on a distinguished road
Hello Krlis,

for my programming work (which is mainly python) I use eclipse (www.eclipse.org) 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.

Regards,
-Thomas
anger is offline   Reply With Quote

Old   January 25, 2008, 06:07
Default Hi Kārlis, Here you can find
  #3
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hi Kārlis,
Here you can find how to setup kdevelop:
KDevelop
On the same page there is a wiki link which shows you how to setup NetBeans.

Dragos
dmoroian is offline   Reply With Quote

Old   January 25, 2008, 08:41
Default The main problem is that I can
  #4
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 8
kar is on a distinguished road
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!
kar is offline   Reply With Quote

Old   January 25, 2008, 08:56
Default Hi Karlis! Please keep in m
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,914
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
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

Bernhard
__________________
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
gschaider is offline   Reply With Quote

Old   January 25, 2008, 12:33
Default Thank you, Bernhard, looks lik
  #6
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 8
kar is on a distinguished road
Thank you, Bernhard, looks like you're right!
kar 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
Writing a CFD code Ernesto FLUENT 2 March 27, 2007 17:38
Writing parallel code hartinger OpenFOAM Running, Solving & CFD 4 March 13, 2006 14:07
Starting Point to study CFD and code writing Lynn Main CFD Forum 3 November 23, 2005 05:31
writing a cfd code kelvin Main CFD Forum 13 October 13, 2005 05:41
Code writing Frank Scheuerpflug Main CFD Forum 15 May 19, 2005 06:02


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