Skip to content

Commit

Permalink
add CO-He interface temp to output file name
Browse files Browse the repository at this point in the history
  • Loading branch information
brady-ryan committed May 3, 2024
1 parent 7b6563c commit fe69e49
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sub_chandra/init_1d.H
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit fe69e49

Please sign in to comment.