Programming question
First, my apologies for such a question. I'm trying to teach myself CFD in my spare time.
Do any of you have any suggestions for references I could use to teach myself scientific programming in C (or C++)? My codes are very sub-optimal as I don't really have a feel for how to 1)pass matricies to solver subroutines; or 2) create solver subroutines in the first place that can accept the system of equations and operate on them. Thanks for your help. tom |
Re: Programming question
For C and general background info: "Numerical Recipes in C", Press, Tuekolsky, Vetterling & Flannery. ISBN 0-521-43108-5
For C++, "Scientific and Engineering C++", BArton & NAckman, ISBN 0-201-53393-6. Or simply skim the books list on this site: http://www.cfd-online.com/Books/ |
Re: Programming question
This is a good book.
How to Program in C++, Deitel & Deitel Prentice Hall; ISBN: 0877783799 |
All times are GMT -4. The time now is 09:05. |