Thanks, it was really usefull and I got to do a comprehensive input file. Since you are at ease with this kind of question I would like to ask another one :). If then I have a file such as:
********* general information *********
date (IDATE): 20/07/2005.
title (ITITRE): fiber
*********...
Hi,
I have an input file for a fortran 77 program and since there are many lines and many constants to be given, it has become quite complicated to read.
I would like to add comments on this input file but I don't want him to read them, just jump over anything that is NAN, something like ...
I am currently trying to create an array of real*8 with 33756 entries, I didn't think it was too big, but... it just crashes de executable...
(btw, it's an array with three levels (i,j,k))
What are your thoughts on this?
What is the maximum size of an array?
Thank you,
WL
PS: if the size...
Thank you very much. It's working fine now...
One question, just out of curiosity, what are all the fmt allowed values, besides I, X?
Best regards,
Widukin
Also I have been unable to apply the DFLOAT function. Since I have to apply it, if possible, to the read statement just before the values are applied to the ARR_PTO array.
Another part of my current program requires me to load another list from file (example as follows)
283 5.40319 0 7.19701
284 2.85188 8.13944 6.15848
285 8.875 0.866025 2.85714
286 0.90817 8.72831...
I've been working on a program based on the code you provided me with. It reads and I can record the values into an array, however, the blank spaces are substituded by a zero. Isn't there a way for the fortran read to ignore blank spaces. (I remember such a thing in C, had something to do with...
I suppose that my question is rather symilar to the "reading until EOF" thread... However, my problem is as follows:
(On the read command, the help index on my fortran90 isn't being very helpfull....)
I have a file with the 3d mesh from another program.
The list is as follows...
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.