Skip to content
Snippets Groups Projects
Commit bf7aa56e authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Remove sph suffix from binary output file names

parent 51701715
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,7 @@ void sphere(string config_file, string data_file, string output_path) {
double exri = sqrt(sconf->exdc);
fprintf(output, " REFR. INDEX OF EXTERNAL MEDIUM=%15.7lE\n", exri);
fstream tppoan;
string tppoan_name = output_path + "/c_TPPOAN_sph";
string tppoan_name = output_path + "/c_TPPOAN";
tppoan.open(tppoan_name.c_str(), ios::binary|ios::out);
if (tppoan.is_open()) {
int imode = 10;
......@@ -286,7 +286,7 @@ void sphere(string config_file, string data_file, string output_path) {
// This is the condition that writes the transition matrix to output.
int is = 1111;
fstream ttms;
string ttms_name = output_path + "/c_TTMS_sph";
string ttms_name = output_path + "/c_TTMS";
ttms.open(ttms_name.c_str(), ios::binary | ios::out);
if (ttms.is_open()) {
ttms.write(reinterpret_cast<char *>(&is), sizeof(int));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment