Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:02

0001 /*******************************************************************************
0002  * Copyright (c) The JETSCAPE Collaboration, 2018
0003  *
0004  * Modular, task-based framework for simulating all aspects of heavy-ion collisions
0005  * 
0006  * For the list of contributors see AUTHORS.
0007  *
0008  * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
0009  *
0010  * or via email to bugs.jetscape@gmail.com
0011  *
0012  * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
0013  * See COPYING for details.
0014  ******************************************************************************/
0015 
0016 #ifndef GUBSERHYDRO_H
0017 #define GUBSERHYDRO_H
0018 
0019 #include "JetScapeLogger.h"
0020 
0021 #include "FluidDynamics.h"
0022 
0023 using namespace Jetscape;
0024 
0025 class GubserHydro : public FluidDynamics {
0026   // this is wrapper class for a simple brick
0027   // so that it can be used within the JETSCAPE framework
0028 private:
0029   double q;
0030   double e_0;
0031   double temperature(double e_local);
0032 
0033   // Allows the registration of the module so that it is available to be used by the Jetscape framework.
0034   static RegisterJetScapeModule<GubserHydro> reg;
0035 
0036 public:
0037   GubserHydro();
0038   ~GubserHydro();
0039 
0040   void InitializeHydro(Parameter parameter_list);
0041 
0042   void EvolveHydro();
0043 
0044   void GetHydroInfo(Jetscape::real t, Jetscape::real x, Jetscape::real y,
0045                     Jetscape::real z,
0046                     std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr);
0047 
0048   void GetHyperSurface(Jetscape::real T_cut,
0049                        SurfaceCellInfo *surface_list_ptr){};
0050 };
0051 
0052 #endif // GUBSERHYDRO_H