wrebz90
Technical User
- Oct 1, 2011
- 1
Hi, I'm a newbie fortran programmer.I need help to write a program.
I have a file of 30 pages, i want to search for "Normal Coordinates:" in the file and then I want to read frequencies,force constants and co-ordinates.
The part which i want to read in the file is as follows
.............
........ Normal Coordinates:
1 2 3
A B C
Frequencies 6868 6585 89080
MNZ
Force constant 789 987 6779
Coordinates X Y Z X Y Z X Y Z
4 5 6 7 8 9 1 3 4
.............
......
Let me know how to write the program.
I have a file of 30 pages, i want to search for "Normal Coordinates:" in the file and then I want to read frequencies,force constants and co-ordinates.
The part which i want to read in the file is as follows
.............
........ Normal Coordinates:
1 2 3
A B C
Frequencies 6868 6585 89080
MNZ
Force constant 789 987 6779
Coordinates X Y Z X Y Z X Y Z
4 5 6 7 8 9 1 3 4
.............
......
Let me know how to write the program.