in this moment many strange things are happening to me so problebli I do not get up something about fortran. See my two file in the attachment.
There is a small difference between them. In sph_std_mvA I have two do-enddo, in sph_std_mvB I add another do-endo to compute the final results outside the main do-enddo.
I think that are the same thing. Howevere the program gives me not exact results in the second case. I got for exmple NaN in the second case when I print some of them.
I am very confused. I hope I haven't done some stupid erros bu I do n ot think so.
Please help me, I need this for work.