Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

(3I3,F9.6) Fortran source code

  1. Mar 18, 2009 #1
    what does this mean..i saw this in Fortran source code!
    (3I3,F9.6)
    thanks.
     
  2. jcsd
  3. Mar 18, 2009 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Re: fortran_format

    That is a string formated as 3 integers with up to 3 digits, followed by a floating point number with up to 9 digits, up to 6 of them being to the right of the decimal point.
     
  4. Mar 25, 2009 #3
    Re: fortran_format

    thanks Hall..
    another doubt..
    What is G12.6, A8 Format???
    Please give me 1 e.g., for each (also for 3I3.). Now F9.6 is very clear.
    thanks
     
  5. Apr 3, 2009 #4
    Re: fortran_format

    3I3
    means
    126,128,133 these are three integers which represent 3 and having three digit in each of them which say I3
     
  6. Apr 4, 2009 #5
    Re: fortran_format

    Hi, thank you!...
     
  7. Apr 4, 2009 #6
    Re: fortran_format

    Since he has had his question answered, and my question relates to this topic, I'll post my question here.

    I'm constrained to 72 columns to input my code. How do I input a function in multiple lines?

    e.g:

    f(y)=sin(y)+cos(y)

    I have tried:

    f(y)=sin(y)
    f(y)=f(y)+cos(y)

    The function I'm using exceeds the 72-column mark.
     
  8. Apr 6, 2009 #7
    Re: fortran_format

    you can use \ or & for getting multiple lines
     
  9. Apr 7, 2009 #8
    Re: fortran_format

    Few questions about Fortran

    1. How can i calculate the user run time for my program , i am using fortran 90 and gfortran as compiler

    2. How to draw the graph between the speed of two different programmes

    3. Suppose i have a algorithm then how to calculate the complexity of algorithm, like whether my program is O (N^2) or O(N LOG N) ...if some one can explain this with small example then it will be very helpfull

    Thanks
     
  10. Apr 8, 2009 #9
    Re: fortran_format

    I want to calculate temperature and the solution contains sum from 1.100 and also contains x and y variables in sum. how can i make a do of the sum but maintain x and y variables constant.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: (3I3,F9.6) Fortran source code
  1. The Source Code! (Replies: 15)

  2. Help with fortran code (Replies: 4)

Loading...