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:
1 530 493 524 453
2 524 530 453 579
3 530 493 453 548
4 377 346 371 277
5 377 346 277 351
6 28 11 23 20
7 28 11 20 15
(...)
I want open the file (using the read statement)
Then I want to transform every element of that file into an item of an array like the one that follows:
(/ (/1,530,493,524,453/), (/2,524,530,453,579/), ... /)
So that I can use this for the rest of my computations.
I thank you in advance for any help you can provide,
Widukin
(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:
1 530 493 524 453
2 524 530 453 579
3 530 493 453 548
4 377 346 371 277
5 377 346 277 351
6 28 11 23 20
7 28 11 20 15
(...)
I want open the file (using the read statement)
Then I want to transform every element of that file into an item of an array like the one that follows:
(/ (/1,530,493,524,453/), (/2,524,530,453,579/), ... /)
So that I can use this for the rest of my computations.
I thank you in advance for any help you can provide,
Widukin