Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. eSAFARI

    converting a code from Matlab to Fortran, but Fortran diverged

    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...
  2. eSAFARI

    converting a code from Matlab to Fortran, but Fortran diverged

    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...
  3. eSAFARI

    COMMON BLOCK

    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)"...

Part and Inventory Search

Back
Top