Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chunshen1987 committed Aug 31, 2024
1 parent e1d5bcf commit 4527eab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/evolve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Evolve::Evolve(const EOS &eosIn, InitData &DATA_in,
eos(eosIn), DATA(DATA_in),
grid_info(DATA_in, eosIn), advance(eosIn, DATA_in, hydro_source_ptr_in) {

rk_order = DATA_in.rk_order;
rk_order = DATA_in.rk_order;
if (DATA.freezeOutMethod == 4) {
initialize_freezeout_surface_info();
}
Expand Down Expand Up @@ -1396,7 +1396,6 @@ void Evolve::initialize_freezeout_surface_info() {
music_message.flush("error");
exit(1);
}
int temp_n_surf = 0;
std::string dummy;
double temp_epsFO, dummyd;
getline(freeze_list_file, dummy); // get rid of the comment
Expand All @@ -1405,7 +1404,6 @@ void Evolve::initialize_freezeout_surface_info() {
>> dummyd >> dummyd >> dummyd >> dummyd;
if (!freeze_list_file.eof()) {
epsFO_list.push_back(temp_epsFO);
temp_n_surf++;
} else {
break;
}
Expand Down
4 changes: 2 additions & 2 deletions src/read_in_parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ InitData read_in_parameters(std::string input_file) {
parameter_list.TFO = getParameter(input_file, "T_freeze", 0.12);
// only one freeze-out is allowed
parameter_list.N_freeze_out = 1;
} else if (parameter_list.useEpsFO == 1) {
} else {
// epsilon_freeze: freeze-out energy density in GeV/fm^3
// only used with use_eps_for_freeze_out = 1
// allow multiple parameter names for backward compitibility
Expand Down Expand Up @@ -503,7 +503,7 @@ InitData read_in_parameters(std::string input_file) {
getParameter(input_file,
"average_surface_over_this_many_time_steps", 1));
parameter_list.fac_x = getParameter(input_file, "freeze_Ncell_x_step", 1);
parameter_list.fac_y = parameter_list.fac_y;;
parameter_list.fac_y = parameter_list.fac_x;
parameter_list.fac_eta = (
getParameter(input_file, "freeze_Ncell_eta_step", 1));

Expand Down

0 comments on commit 4527eab

Please sign in to comment.