Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add WD-He interface temp to output file name #68

Merged
merged 4 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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