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 CLVISC_WRAPPER_H
0017 #define CLVISC_WRAPPER_H
0018 
0019 #include "FluidDynamics.h"
0020 #include "clvisc.h"
0021 
0022 using namespace Jetscape;
0023 
0024 // CLViscWrapper for jetscape
0025 class CLVisc : public FluidDynamics {
0026 private:
0027   std::unique_ptr<clvisc::CLVisc> hydro_;
0028   int doCooperFrye;
0029   // scale the initial density because Trento only provides
0030   // the density distribution profile without scaling factor
0031   double initial_condition_scale_factor;
0032 
0033   // Allows the registration of the module
0034   static RegisterJetScapeModule<CLVisc> reg;
0035 
0036 public:
0037   CLVisc();
0038   ~CLVisc();
0039 
0040   void InitializeHydro(Parameter parameter_list);
0041   void EvolveHydro();
0042   void GetHydroInfo(Jetscape::real t, Jetscape::real x, Jetscape::real y,
0043                     Jetscape::real z,
0044                     std::unique_ptr<FluidCellInfo> &fluid_cell_info_ptr);
0045   void GetHyperSurface(Jetscape::real T_cut,
0046                        SurfaceCellInfo *surface_list_ptr){};
0047 };
0048 
0049 #endif // CLViscWRAPPER_H