AlexanderKnight / HPC2019-Project1-KdV

Project 1 - HPC 2019 - KdV Equation
0 stars 0 forks source link

Data file #5

Open jefflynn1 opened 5 years ago

jefflynn1 commented 5 years ago

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.

AlexanderKnight commented 5 years ago

Sounds good