Recent content by svartak

  1. S

    Fortran Fortran: inner loop dependence on outer loop

    Hello, I want to write an inner loop which takes values based on the variable values of the outer loop. For outer loop, m=1, Nmax and for inner loop, I want n to take values from 1 to Nmax-m. But I am not sure if I can directly specify n = 1, Nmax-m. Also I want to use Nmax-m value for one of...
  2. S

    Fortran Fortran: all lines of the code are not being read

    Thank you very much all of you! And I will be very precise in my questions henceforth. Swati
  3. S

    Fortran Fortran: all lines of the code are not being read

    Thanks for you reply. I did that but could not find a problem. The lines after the second end do (just before proj=0) are not just read. If I comment out the first two do loops then the later lines are read. Could the problem be due to "read(1,*,end=100)"?
  4. S

    Fortran Fortran: all lines of the code are not being read

    hello, i'm a beginner in programming. i wrote a program to calculate velocity correlation function. i do not get any compilation errors but the lines after line number 42 are not being read. could someone tell me what is it that I'm doing wrong? thanks a lot! svartak !program to...
Back
Top