From fe69e49e6eb85bbdf09ebfe0a26ba05e3362aaf1 Mon Sep 17 00:00:00 2001 From: Ryan Brady Date: Fri, 3 May 2024 16:49:10 -0400 Subject: [PATCH] add CO-He interface temp to output file name --- sub_chandra/init_1d.H | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sub_chandra/init_1d.H b/sub_chandra/init_1d.H index c8bf3e7..f876d84 100644 --- a/sub_chandra/init_1d.H +++ b/sub_chandra/init_1d.H @@ -588,7 +588,11 @@ AMREX_INLINE void init_1d() { ss2 << std::setprecision(3) << std::fixed << mass_he / C::M_solar; std::string mass_he_str = ss2.str(); - std::string outfile_base = problem_rp::prefix + ".M_WD-" + mass_wd_str + ".M_He-" + mass_he_str + ".delta" + delta_str; + std::stringstream ss3; + ss3 << problem_rp::temp_base; + std::string temp_base_str = ss3.str(); + + std::string outfile_base = problem_rp::prefix + ".M_WD-" + mass_wd_str + ".M_He-" + mass_he_str + ".delta" + delta_str + ".temp_base-" + temp_base_str; std::string outfile = outfile_base + ".hse";