Skip to content

Commit

Permalink
add WD-He interface temp to output file name (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
brady-ryan authored May 7, 2024
1 parent 2ba1d25 commit 69554e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sub_chandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Compare to stored output
run: |
cd sub_chandra
diff sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.hse.CO.N14.dx10.00km ci-benchmarks/sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.hse.CO.N14.dx10.00km
diff sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.temp_base-1.75e+08.hse.CO.N14.dx10.00km ci-benchmarks/sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.hse.CO.N14.dx10.00km
Expand Down
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 69554e1

Please sign in to comment.