We need a data file to read in. I can get working on the main to read in said file.
I will set up the main to read in the file. I would like the format:
Size
deltaX (L/mx)
data point 1 (double)
data point 2..
..
..
..
data point n.
That way the first line I read in can just be the size variable, then deltaX var and then I can read in the data points into a double array. I am assuming all data points start at t = 0? So the data file can just be a single number corresponding to the x? Or will it need to be (x,y)? I am not sure, but I can get it all set up for now and we can make small changes.
We need a data file to read in. I can get working on the main to read in said file.
I will set up the main to read in the file. I would like the format:
Size deltaX (L/mx) data point 1 (double) data point 2.. .. .. .. data point n.
That way the first line I read in can just be the size variable, then deltaX var and then I can read in the data points into a double array. I am assuming all data points start at t = 0? So the data file can just be a single number corresponding to the x? Or will it need to be (x,y)? I am not sure, but I can get it all set up for now and we can make small changes.