From bf7aa56e67dad312b1bb8c2815e5338d01969e72 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Fri, 12 Jan 2024 12:18:23 +0100 Subject: [PATCH] Remove sph suffix from binary output file names --- src/sphere/sphere.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sphere/sphere.cpp b/src/sphere/sphere.cpp index 897643be..b21d7ea8 100644 --- a/src/sphere/sphere.cpp +++ b/src/sphere/sphere.cpp @@ -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)); -- GitLab