Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GubserHydro.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file GubserHydro.h
1 /*******************************************************************************
2  * Copyright (c) The JETSCAPE Collaboration, 2018
3  *
4  * Modular, task-based framework for simulating all aspects of heavy-ion collisions
5  *
6  * For the list of contributors see AUTHORS.
7  *
8  * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
9  *
10  * or via email to bugs.jetscape@gmail.com
11  *
12  * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
13  * See COPYING for details.
14  ******************************************************************************/
15 
16 #ifndef GUBSERHYDRO_H
17 #define GUBSERHYDRO_H
18 
19 #include "JetScapeLogger.h"
20 
21 #include "FluidDynamics.h"
22 
23 using namespace Jetscape;
24 
25 class GubserHydro : public FluidDynamics {
26  // this is wrapper class for a simple brick
27  // so that it can be used within the JETSCAPE framework
28 private:
29  double q;
30  double e_0;
31  double temperature(double e_local);
32 
33  // Allows the registration of the module so that it is available to be used by the Jetscape framework.
35 
36 public:
37  GubserHydro();
38  ~GubserHydro();
39 
40  void InitializeHydro(Parameter parameter_list);
41 
42  void EvolveHydro();
43 
44  void GetHydroInfo(Jetscape::real t, Jetscape::real x, Jetscape::real y,
46  std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr);
47 
48  void GetHyperSurface(Jetscape::real T_cut,
49  SurfaceCellInfo *surface_list_ptr){};
50 };
51 
52 #endif // GUBSERHYDRO_H