I cannot seem to figure out how to read in data from a file into an array.
open(unit=1, file="input.dat", status = "new", form = "formatted")
to open the file. However, I am unsure as what to do from there.
Here is part of the data file:
The first line has the integer (101) indicating the number of data points. Each line after than has one pair of values (x,y) representing each data point.
Any guidance would be much appreciated.