28 using namespace Jetscape;
58 double T_local = pow(90.0 / M_PI / M_PI * e_local / 3. /
59 (2. * (N_c * N_c - 1.) + 7. / 2. * N_c * N_f),
68 std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr) {
70 fluid_cell_info_ptr = make_unique<FluidCellInfo>();
72 double t_local =
static_cast<double>(
t);
73 double x_local =
static_cast<double>(
x);
74 double y_local =
static_cast<double>(
y);
75 double z_local =
static_cast<double>(
z);
77 double tau_local = sqrt(t * t - z * z);
78 double r_local = sqrt(x_local * x_local + y_local * y_local);
81 (1. + 2. *
q *
q * (tau_local * tau_local + r_local * r_local) +
82 q *
q *
q *
q * pow(tau_local * tau_local - r_local * r_local, 2));
84 double e_local = ((
e_0 / pow(tau_local, 4. / 3.)) * (pow(2. *
q, 8. / 3.)) /
85 (pow(temp, 4. / 3.)));
88 double p_local = e_local / 3.;
89 double s_local = (e_local + p_local) / T_local;
92 atanh((2. *
q *
q * tau_local * r_local) /
93 (1. +
q *
q * tau_local * tau_local +
q *
q * r_local * r_local));
94 double ux_local = sinh(kappa) * x_local / (r_local + 1
e-15);
95 double uy_local = sinh(kappa) * y_local / (r_local + 1
e-15);
96 double gamma = sqrt(1. + ux_local * ux_local + uy_local * uy_local);
97 double vx_local = ux_local / gamma;
98 double vy_local = uy_local / gamma;
99 double vz_local = z /
t;
106 fluid_cell_info_ptr->
pressure = p_local;
110 fluid_cell_info_ptr->
mu_B = 0.0;
111 fluid_cell_info_ptr->
mu_C = 0.0;
112 fluid_cell_info_ptr->
mu_S = 0.0;
114 fluid_cell_info_ptr->
vx = vx_local;
115 fluid_cell_info_ptr->
vy = vy_local;
116 fluid_cell_info_ptr->
vz = vz_local;
117 for (
int i = 0;
i < 4;
i++) {
118 for (
int j = 0;
j < 4;
j++) {
119 fluid_cell_info_ptr->
pi[
i][
j] = 0.0;
122 fluid_cell_info_ptr->
bulk_Pi = 0.0;