Skip to content

Commit

Permalink
Merge pull request #8 from xyw2016/JETSCAPE
Browse files Browse the repository at this point in the history
Add an adjustable hydro initial time for the energy-dependent free-stream end time
  • Loading branch information
chunshen1987 authored Feb 6, 2024
2 parents 52b0454 + 13556e9 commit db32089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void MUSIC::output_transport_coefficients() {


void MUSIC::initialize_hydro_from_jetscape_preequilibrium_vectors(
const double dx, const double dz, const double z_max, const int nz,
const double tau0, const double dx, const double dz, const double z_max, const int nz,
vector<double> e_in, vector<double> P_in,
vector<double> u_tau_in, vector<double> u_x_in,
vector<double> u_y_in, vector<double> u_eta_in,
Expand All @@ -219,6 +219,7 @@ void MUSIC::initialize_hydro_from_jetscape_preequilibrium_vectors(
}
DATA.delta_x = dx;
DATA.delta_y = dx;
DATA.tau0 = tau0;

Init initialization(eos, DATA, hydro_source_terms_ptr);
initialization.get_jetscape_preequilibrium_vectors(
Expand Down
2 changes: 1 addition & 1 deletion src/music.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class MUSIC {
void clean_all_the_surface_files();

void initialize_hydro_from_jetscape_preequilibrium_vectors(
const double dx, const double dz, const double z_max, const int nz,
const double tau0, const double dx, const double dz, const double z_max, const int nz,
std::vector<double> e_in, std::vector<double> P_in,
std::vector<double> u_tau_in, std::vector<double> u_x_in,
std::vector<double> u_y_in, std::vector<double> u_eta_in,
Expand Down

0 comments on commit db32089

Please sign in to comment.