Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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_
;
28
int
doCooperFrye
;
29
// scale the initial density because Trento only provides
30
// the density distribution profile without scaling factor
31
double
initial_condition_scale_factor
;
32
33
// Allows the registration of the module
34
static
RegisterJetScapeModule<CLVisc>
reg
;
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
,
43
Jetscape::real
z
,
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
JETSCAPE
blob
main
src
hydro
CLViscWrapper.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:25
using
1.8.2 with
sPHENIX GitHub integration