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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: DoHander
Forum: Main CFD Forum February 11, 2011, 09:53
Replies: 5
Views: 1,999
Posted By DoHander
If you are sure both codes have no bugs, than you...

If you are sure both codes have no bugs, than you can try to play with precision in C++.
Try first to convert floats to doubles, and after that doubles to long double.

What I suspect is that your...
Forum: Main CFD Forum March 12, 2010, 21:28
Replies: 5
Views: 1,999
Posted By DoHander
A simple example on a 64 bits computer ...

A simple example on a 64 bits computer

acos(-1) , exact value = pi

C/C++ using long double:
3.1415926535897932385128089594061862

Fortran 95 using selected_real_kind(32,99)...
Forum: Main CFD Forum March 12, 2010, 18:54
Replies: 5
Views: 1,999
Posted By DoHander
Numerical precision

Hello,

I've recently implemented 3 small CFD solvers one in C++, one in Fortran 95/2003 and one in Matlab for comparation purposes, both compiled codes were parallelized using OpenMP.

I've...
Showing results 1 to 3 of 3

 
Forum Jump

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