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
PreequilibriumDynamics.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PreequilibriumDynamics.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 PREEQUILDYNAMICS_H
17
#define PREEQUILDYNAMICS_H
18
19
#include <vector>
20
#include "
InitialState.h
"
21
#include "
JetScapeModuleBase.h
"
22
#include "
RealType.h
"
23
24
namespace
Jetscape {
25
// Flags for preequilibrium dynamics status.
26
enum
PreequilibriumStatus
{
NOT_STARTED
,
INIT
,
DONE
,
ERR
};
27
28
class
PreEquilibriumParameterFile
{
29
public
:
30
// preequilibrium dynamics parameters file name.
31
char
*
preequilibrium_input_filename
;
32
};
33
34
// Interface for the Preequilibrium Dynamics of the medium
35
class
PreequilibriumDynamics
:
public
JetScapeModuleBase
{
36
private
:
37
PreEquilibriumParameterFile
parameter_list_
;
38
// record preequilibrium start and end proper time [fm/c]
39
real
preequilibrium_tau_0_
,
preequilibrium_tau_max_
;
40
41
public
:
42
PreequilibriumDynamics
();
43
44
virtual
~PreequilibriumDynamics
();
45
49
void
Init
();
50
54
void
Exec
();
55
57
virtual
void
Clear
();
58
59
virtual
void
60
InitializePreequilibrium
(
PreEquilibriumParameterFile
parameter_list) {}
61
virtual
void
EvolvePreequilibrium
() {}
62
63
// add initial state shared pointer
66
std::shared_ptr<InitialState>
ini
;
67
68
PreEquilibriumParameterFile
&
GetParameterList
() {
return
parameter_list_
; }
69
70
int
GetPreequilibriumStatus
() {
return
(
preequilibrium_status_
); }
71
72
// @return Start time (or tau) for hydrodynamic evolution
73
real
GetPreequilibriumStartTime
() {
return
(
preequilibrium_tau_0_
); }
74
75
// @return End time (or tau) for hydrodynamic evolution.
76
real
GetPreequilibriumEndTime
() {
return
(
preequilibrium_tau_max_
); }
77
78
// record preequilibrium running status
79
PreequilibriumStatus
preequilibrium_status_
;
80
81
std::vector<double>
e_
;
82
std::vector<double>
P_
;
83
std::vector<double>
utau_
;
84
std::vector<double>
ux_
;
85
std::vector<double>
uy_
;
86
std::vector<double>
ueta_
;
87
std::vector<double>
pi00_
;
88
std::vector<double>
pi01_
;
89
std::vector<double>
pi02_
;
90
std::vector<double>
pi03_
;
91
std::vector<double>
pi11_
;
92
std::vector<double>
pi12_
;
93
std::vector<double>
pi13_
;
94
std::vector<double>
pi22_
;
95
std::vector<double>
pi23_
;
96
std::vector<double>
pi33_
;
97
std::vector<double>
bulk_Pi_
;
98
};
99
100
}
// end namespace Jetscape
101
102
#endif
JETSCAPE
blob
main
src
framework
PreequilibriumDynamics.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:25
using
1.8.2 with
sPHENIX GitHub integration