Commit af072d15 authored by Daniele de Grazia's avatar Daniele de Grazia
Browse files

Change in output name

parent acfd69a8
......@@ -756,7 +756,11 @@ int main(int argc, char *argv[])
// Print the surface coordinates and the surface solution in a .txt file
ofstream outfile;
outfile.open("surfaceQuantities.txt");
string fname = strtok(argv[2],".");
fname += ".txt";
outfile.open(fname);
outfile << "% x[m] " << " \t"
<< "y[m] " << " \t"
<< "z[m] " << " \t"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment