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
FluidcellStatistic.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FluidcellStatistic.h
1
// Copyright Chun Shen @ 2015
2
#ifndef SRC_FLUIDCELLSTATISTIC_H_
3
#define SRC_FLUIDCELLSTATISTIC_H_
4
5
#include <iostream>
6
#include <sstream>
7
#include <fstream>
8
#include <cmath>
9
#include <iomanip>
10
#include <string>
11
#include <fstream>
12
13
#ifdef USE_HDF5
14
#include "
./Hydroinfo_h5.h
"
15
#endif
16
17
#include "
./Hydroinfo_MUSIC.h
"
18
#include "
./ParameterReader.h
"
19
20
// using namespace std;
21
using
std::string
;
22
using
std::vector;
23
using
std::ofstream;
24
using
std::ifstream;
25
using
std::abs;
26
27
class
FluidcellStatistic
{
28
private
:
29
int
hydro_type
;
30
#ifdef USE_HDF5
31
HydroinfoH5
*hydroinfo_ptr;
32
#endif
33
Hydroinfo_MUSIC
*
hydroinfo_MUSIC_ptr
;
34
ParameterReader
*
paraRdr
;
35
double
T_dec
;
36
double
hbarC
;
37
double
grid_dt
,
grid_dx
,
grid_dy
;
38
double
grid_tau0
,
grid_tauf
;
39
double
grid_x0
,
grid_y0
;
40
41
public
:
42
FluidcellStatistic
(
void
* hydroinfo_ptr_in,
ParameterReader
* paraRdr_in);
43
~FluidcellStatistic
();
44
void
checkFreezeoutSurface
(
double
Tdec);
45
double
compute_local_expansion_rate
(
double
tau_local,
double
x_local,
46
double
y_local);
47
void
output_momentum_anisotropy_vs_tau
();
48
void
output_temperature_vs_tau
();
49
void
output_flowvelocity_vs_tau
();
50
void
output_temperature_vs_avg_utau
();
51
void
outputTempasTauvsX
();
52
void
outputKnudersonNumberasTauvsX
();
53
void
outputinverseReynoldsNumberasTauvsX
();
54
void
outputBulkinverseReynoldsNumberasTauvsX
();
55
void
analysis_hydro_volume_for_photon
(
double
T_cut);
56
double
calculate_spacetime_4volume
(
double
T_cut);
57
double
calculate_average_tau
(
double
T_cut);
58
double
calculate_average_temperature4
(
double
T_cut);
59
double
calculate_average_integrated_photonRate_parameterization
(
60
double
T_cut);
61
double
calculate_hypersurface_3volume
(
double
T_cut);
62
};
63
64
#endif // SRC_FLUIDCELLSTATISTIC_H_
JETSCAPE
blob
main
external_packages
hydro_from_external_file
FluidcellStatistic.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:23
using
1.8.2 with
sPHENIX GitHub integration