Hi, this may be a stupid question, but I couldn’t find anything elsewhere.
Suppose I have a csv file with a given number of rows, each representing a function. So the something like
0.0,0.0,0.0,0.0
1.0,1.0,1.0,1.0
Inside FreeFEM I have a mesh with four elements, and I dont know how to load them.
I could separate the rows into different files (and putting them in a single column), and read line by line.
Something like
0.0
0.0
0.0
0.0
for file1 and
1.0
1.0
1.0
1.0
for file2. However this is not optimal since, in reality, I have a lot of functions.
What is the best way to load them?
I think the best way would be to read row by row and somehow split each one by the character ‘,’.
However, I couldn’t figure it out . . .