|
[Sponsors] |
October 21, 2006, 06:16 |
Stone SIP
|
#1 |
Guest
Posts: n/a
|
Hi all,
I've post some days ago about efficient methods for solving poisson equations, and someone advice me to try the Stone SIP algorithm, as described in Peric book. I've read about it, implement it in c++, but it seems to me that I've made a mistake somewhere and I can't find it. I've also compare my code with Peric's one, and I still didn't found the error. I've doubts about my incomplete LU implementation, but there's no validation case to compare with... So can someone help me? |
|
October 21, 2006, 14:03 |
Re: Stone SIP
|
#2 |
Guest
Posts: n/a
|
i can only say this that one source of mistake during swiching between C++ and FOR is related to dimensions (formaly index is started from 1 in for and 0 in C++) it is especially important as Peric used vectorization (converting 2d array in 1D)
e.g. for 2d case index (i,j)= i+(j-1)*imax in fortran index (i,j)= i+j*imax in C++ hope it help. |
|
November 18, 2006, 14:01 |
Re: Stone SIP
|
#3 |
Guest
Posts: n/a
|
Are you in my class
NSPDE-1 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stpongly Implicit Procedure by Stone H.L. | Michail | Main CFD Forum | 0 | October 3, 2009 06:51 |
Periodic BC's and Stone SIP Solver | ilyasy | Main CFD Forum | 0 | August 14, 2009 06:04 |
SIP solver | Peter | Main CFD Forum | 2 | October 29, 2001 13:52 |
SIP | Jerry | Main CFD Forum | 1 | September 7, 2000 20:25 |
Parallel version of SIP ? | Ravikanth Avancha | Main CFD Forum | 1 | March 19, 1999 14:21 |