Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CLViscWrapper.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CLViscWrapper.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 CLVISC_WRAPPER_H
17 #define CLVISC_WRAPPER_H
18 
19 #include "FluidDynamics.h"
20 #include "clvisc.h"
21 
22 using namespace Jetscape;
23 
24 // CLViscWrapper for jetscape
25 class CLVisc : public FluidDynamics {
26 private:
27  std::unique_ptr<clvisc::CLVisc> hydro_;
29  // scale the initial density because Trento only provides
30  // the density distribution profile without scaling factor
32 
33  // Allows the registration of the module
35 
36 public:
37  CLVisc();
38  ~CLVisc();
39 
40  void InitializeHydro(Parameter parameter_list);
41  void EvolveHydro();
42  void GetHydroInfo(Jetscape::real t, Jetscape::real x, Jetscape::real y,
44  std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr);
45  void GetHyperSurface(Jetscape::real T_cut,
46  SurfaceCellInfo *surface_list_ptr){};
47 };
48 
49 #endif // CLViscWRAPPER_H