File indexing completed on 2025-08-03 08:19:44
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef SRC_HYDROINFO_MUSIC_H_
0010 #define SRC_HYDROINFO_MUSIC_H_
0011
0012 #include <vector>
0013 #include <string>
0014 #include "fluidCell.h"
0015
0016 class Hydroinfo_MUSIC {
0017 private:
0018 double hbarC;
0019 double hydroTau0;
0020 double hydroTauMax;
0021 double hydroDtau;
0022 double hydroXmax;
0023
0024 double hydro_eta_max;
0025
0026 double hydroDx;
0027 double hydroDeta;
0028
0029
0030 int nskip_tau, nskip_x, nskip_eta;
0031
0032 int hydroWhichHydro;
0033 int use_tau_eta_coordinate;
0034
0035 bool boost_invariant;
0036
0037 int verbose_;
0038 int itaumax, ixmax, ietamax;
0039 int turn_on_shear;
0040 int turn_on_bulk;
0041 int turn_on_rhob;
0042 int turn_on_diff;
0043
0044 std::string input_filename;
0045 std::string hydro_ideal_filename;
0046 std::string hydro_shear_filename;
0047 std::string hydro_bulk_filename;
0048
0049 std::vector<fluidCell_2D> lattice_2D;
0050 std::vector<fluidCell_3D> lattice_3D;
0051 std::vector<fluidCell_3D_ideal> lattice_3D_ideal;
0052 std::vector<int> idx_map_;
0053
0054 public:
0055 Hydroinfo_MUSIC();
0056 ~Hydroinfo_MUSIC();
0057
0058 void clean_hydro_event();
0059 void set_verbose(int verbose) {verbose_ = verbose;}
0060 double get_hydro_tau_max() {return(hydroTauMax);}
0061 double get_hydro_tau0() {return(hydroTau0);}
0062 double get_hydro_dtau() {return(hydroDtau);}
0063 double get_hydro_dx() {return(hydroDx);}
0064 double get_hydro_deta() {return(hydroDeta);}
0065 double get_hydro_eta_max() {return(hydro_eta_max);}
0066 double get_hydro_x_max() {return(hydroXmax);}
0067 int get_hydro_Nskip_tau() {return(nskip_tau);}
0068 int get_hydro_Nskip_x() {return(nskip_x);}
0069 int get_hydro_Nskip_eta() {return(nskip_eta);}
0070 int get_number_of_fluid_cells_3d() {return(lattice_3D_ideal.size());}
0071
0072 void readHydroData(int whichHydro, int nskip_tau_in,
0073 std::string input_filename_in, std::string hydro_ideal_filename,
0074 std::string hydro_shear_filename, std::string hydro_bulk_filename);
0075
0076 void getHydroValues(double x, double y, double z, double t,
0077 hydrofluidCell *info);
0078 void output_temperature_evolution(std::string filename_base);
0079 void update_grid_info(double tau0, double tau_max, double dtau,
0080 double x_max, double dx, double z_max, double dz);
0081 };
0082
0083 #endif
0084