Thank you mikrom!
what do you mean by initialization of variables?
here is the part of the code that the divergence starts. The main code is too big to post it here.
the problems occurs in the do-while loop as in Matlab the results is obtained after 4-5 iteration but in Fortran it will never get...
thread214-1651477
I am dealing with the same problem. I translated a code from Matlab to Fortran ( CVF). The Matlab code works pretty well but in iteration loop in Fortran the error is accumulated to a unacceptable number. I used double precision in Fortran. I don't understand why Matlab can...
Hi FZK
The code below is a simple one that uses a COMMON BLOCK which is a two dimensional array. Pay attention that a COMMOB BLOCK can be neither ALLOCATABE nor AUTOMATIC. An AUTOMATIC Array is the one that its bound is a variable inside the SUBROUTINE of FUNCTION like "BIC_automatic(e,e)"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.