Skip to content

Commit

Permalink
Output sound speed
Browse files Browse the repository at this point in the history
  • Loading branch information
vollous committed Jan 30, 2025
1 parent c6aff27 commit f3ad181
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/BSMPT/transition_tracer/transition_tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ struct gw_data

std::optional<double> K;
std::optional<double> Epsilon_Turb;
std::optional<double> cs_f;
std::optional<double> cs_t;

std::optional<double> fb_col;
std::optional<double> omegab_col;
Expand Down
2 changes: 2 additions & 0 deletions src/minimum_tracer/minimum_tracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2880,6 +2880,8 @@ std::vector<std::string> MinimumTracer::GetLegend(const int &num_coex_phases,
legend.push_back("beta/H_" + std::to_string(i));
legend.push_back("K_" + std::to_string(i));
legend.push_back("Eps_turb_" + std::to_string(i));
legend.push_back("cs_f_" + std::to_string(i));
legend.push_back("cs_t_" + std::to_string(i));
legend.push_back("fb_col_" + std::to_string(i));
legend.push_back("h2Omegab_col_" + std::to_string(i));
legend.push_back("f_1_sw_" + std::to_string(i));
Expand Down
2 changes: 2 additions & 0 deletions src/prog/CalcGW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ try
<< output.vec_gw_data.at(i).beta_over_H.value_or(EmptyValue)
<< sep << output.vec_gw_data.at(i).K.value_or(EmptyValue) << sep
<< output.vec_gw_data.at(i).Epsilon_Turb.value_or(EmptyValue)
<< sep << output.vec_gw_data.at(i).cs_f.value_or(EmptyValue)
<< sep << output.vec_gw_data.at(i).cs_t.value_or(EmptyValue)
<< sep << output.vec_gw_data.at(i).fb_col.value_or(EmptyValue)
<< sep << output.vec_gw_data.at(i).omegab_col.value_or(EmptyValue)
<< sep << output.vec_gw_data.at(i).f1_sw.value_or(EmptyValue)
Expand Down
2 changes: 2 additions & 0 deletions src/transition_tracer/transition_tracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ TransitionTracer::TransitionTracer(user_input &input)

new_gw_data.K = gw.data.K;
new_gw_data.Epsilon_Turb = gw.data.Epsilon_Turb;
new_gw_data.cs_f = gw.data.Csound_false;
new_gw_data.cs_t = gw.data.Csound_true;

new_gw_data.status_gw = gw.data.status;
}
Expand Down

0 comments on commit f3ad181

Please sign in to comment.