1010using std::stringstream;
1111using std::string;
1212
13- EOS_4D::EOS_4D () {}
13+ EOS_4D_foriSS::EOS_4D_foriSS () {}
1414
1515
16- EOS_4D ::~EOS_4D () {}
16+ EOS_4D_foriSS ::~EOS_4D_foriSS () {}
1717
1818
19- void EOS_4D ::get_eos_max_values () {
19+ void EOS_4D_foriSS ::get_eos_max_values () {
2020 T_tilde_max = Ttilde0 + (N_T - 1 )*dTtilde;
2121 mub_tilde_max = mubtilde0 + (N_mub - 1 )*dmubtilde;
2222 muq_tilde_max = muqtilde0 + (N_muq - 1 )*dmuqtilde;
2323 mus_tilde_max = mustilde0 + (N_mus - 1 )*dmustilde;
2424}
2525
2626
27- void EOS_4D ::read_header_binary (std::string filepath, int header_size) {
27+ void EOS_4D_foriSS ::read_header_binary (std::string filepath, int header_size) {
2828 std::ifstream ifs (filepath, std::ios::in | std::ios::binary);
2929 if (!ifs.is_open ()) {
3030 messenger << " Can not open EOS files: " << filepath;
@@ -42,7 +42,7 @@ void EOS_4D::read_header_binary(std::string filepath, int header_size) {
4242}
4343
4444
45- void EOS_4D ::read_eos_binary (std::string filepath,
45+ void EOS_4D_foriSS ::read_eos_binary (std::string filepath,
4646 std::vector<float > &out, int header_size) {
4747 std::ifstream eos_binary_file (filepath, std::ios::in | std::ios::binary);
4848
@@ -65,7 +65,7 @@ void EOS_4D::read_eos_binary(std::string filepath,
6565}
6666
6767
68- void EOS_4D ::read_dfCoeffs_binary (std::string filepath, const int dfType) {
68+ void EOS_4D_foriSS ::read_dfCoeffs_binary (std::string filepath, const int dfType) {
6969 dfCoeffs_.clear ();
7070 std::ifstream df_binary_file (filepath, std::ios::in | std::ios::binary);
7171
@@ -91,12 +91,12 @@ void EOS_4D::read_dfCoeffs_binary(std::string filepath, const int dfType) {
9191}
9292
9393
94- int EOS_4D ::index (int i_T, int i_mub, int i_muq, int i_mus) const {
94+ int EOS_4D_foriSS ::index (int i_T, int i_mub, int i_muq, int i_mus) const {
9595 int idx = ((i_T*N_mus + i_mus)*N_muq + i_muq)*N_mub + i_mub;
9696 return (idx);
9797}
9898
99- void EOS_4D ::FourDLInterp (const std::vector<float > &data,
99+ void EOS_4D_foriSS ::FourDLInterp (const std::vector<float > &data,
100100 const std::array<float , 4 > &TildeVar,
101101 std::array<float , 5 > &ResArr,
102102 bool compute_derivatives) const {
@@ -299,7 +299,7 @@ void EOS_4D::FourDLInterp(const std::vector<float> &data,
299299}
300300
301301
302- void EOS_4D ::get_tilde_variables (
302+ void EOS_4D_foriSS ::get_tilde_variables (
303303 double e, double rhob, double rhoq, double rhos,
304304 std::array<float , 4 > &TildeVar) const {
305305 // Input e, n in GeV/fm3 and 1/fm3
@@ -324,7 +324,7 @@ void EOS_4D::get_tilde_variables(
324324}
325325
326326
327- void EOS_4D ::initialize_eos () {
327+ void EOS_4D_foriSS ::initialize_eos () {
328328 messenger.info (" Read in 4D EOS" );
329329
330330 std::stringstream spath;
@@ -350,7 +350,7 @@ void EOS_4D::initialize_eos() {
350350}
351351
352352
353- void EOS_4D ::initialize_dfCoeffs (const int dfType) {
353+ void EOS_4D_foriSS ::initialize_dfCoeffs (const int dfType) {
354354 messenger.info (" Read in deltaf Coeffs for EoS 4D" );
355355 std::string EOSPath = " ./iSS_tables/EOS_tables/HRG4D/" ;
356356 // Header info
@@ -369,7 +369,7 @@ void EOS_4D::initialize_dfCoeffs(const int dfType) {
369369
370370// ! This function returns the local temperature in [1/fm]
371371// ! input local energy density eps [1/fm^4] and rhob [1/fm^3]
372- double EOS_4D ::get_temperature (double e, double rhob,
372+ double EOS_4D_foriSS ::get_temperature (double e, double rhob,
373373 double rhoq, double rhos) const {
374374 std::array<float , 4 > TildeVar{};
375375 get_tilde_variables (e, rhob, rhoq, rhos, TildeVar);
@@ -381,7 +381,7 @@ double EOS_4D::get_temperature(double e, double rhob,
381381
382382// ! This function returns the local pressure in [1/fm^4]
383383// ! the input local energy density [1/fm^4], rhob [1/fm^3]
384- double EOS_4D ::get_pressure (double e, double rhob,
384+ double EOS_4D_foriSS ::get_pressure (double e, double rhob,
385385 double rhoq, double rhos) const {
386386 std::array<float , 4 > TildeVar{};
387387 get_tilde_variables (e, rhob, rhoq, rhos, TildeVar);
@@ -391,7 +391,7 @@ double EOS_4D::get_pressure(double e, double rhob,
391391}
392392
393393
394- void EOS_4D ::getThermalVariables (const double epsilon, const double rhob,
394+ void EOS_4D_foriSS ::getThermalVariables (const double epsilon, const double rhob,
395395 const double rhoq, const double rhos,
396396 std::vector<float > &thermalVec) const {
397397 thermalVec.resize (5 );
@@ -403,7 +403,7 @@ void EOS_4D::getThermalVariables(const double epsilon, const double rhob,
403403}
404404
405405
406- void EOS_4D ::getDeltafCoeffs (const double epsilon, const double rhob,
406+ void EOS_4D_foriSS ::getDeltafCoeffs (const double epsilon, const double rhob,
407407 const double rhoq, const double rhos,
408408 std::vector<double > &deltafVec) const {
409409 deltafVec.resize (dfCoeffs_.size ());
@@ -419,7 +419,7 @@ void EOS_4D::getDeltafCoeffs(const double epsilon, const double rhob,
419419
420420// ! This function returns the local baryon chemical potential mu_B in [1/fm]
421421// ! input local energy density eps [1/fm^4] and rhob [1/fm^3]
422- double EOS_4D ::get_muB (double e, double rhob, double rhoq, double rhos) const {
422+ double EOS_4D_foriSS ::get_muB (double e, double rhob, double rhoq, double rhos) const {
423423 std::array<float , 4 > TildeVar{};
424424 get_tilde_variables (e, rhob, rhoq, rhos, TildeVar);
425425 std::array<float , 5 > ResArr{};
@@ -430,7 +430,7 @@ double EOS_4D::get_muB(double e, double rhob, double rhoq, double rhos) const {
430430
431431// ! This function returns the local baryon chemical potential mu_B in [1/fm]
432432// ! input local energy density eps [1/fm^4] and rhob [1/fm^3]
433- double EOS_4D ::get_muS (double e, double rhob, double rhoq, double rhos) const {
433+ double EOS_4D_foriSS ::get_muS (double e, double rhob, double rhoq, double rhos) const {
434434 std::array<float , 4 > TildeVar{};
435435 get_tilde_variables (e, rhob, rhoq, rhos, TildeVar);
436436 std::array<float , 5 > ResArr{};
@@ -441,7 +441,7 @@ double EOS_4D::get_muS(double e, double rhob, double rhoq, double rhos) const {
441441
442442// ! This function returns the local baryon chemical potential mu_B in [1/fm]
443443// ! input local energy density eps [1/fm^4] and rhob [1/fm^3]
444- double EOS_4D ::get_muQ (double e, double rhob, double rhoq, double rhos) const {
444+ double EOS_4D_foriSS ::get_muQ (double e, double rhob, double rhoq, double rhos) const {
445445 std::array<float , 4 > TildeVar{};
446446 get_tilde_variables (e, rhob, rhoq, rhos, TildeVar);
447447 std::array<float , 5 > ResArr{};
0 commit comments