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
rmn.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file rmn.h
1
#include "
eos.h
"
2
#include "
inc.h
"
3
4
// transformation from conserved -> primitive quantities
5
// input: EoS instance and conserved quantities Q
6
// output: energy density e, pressure p, charge densities nb, nq, ns
7
// 3-velocity components vx, vy, vz
8
void
transformPV
(
EoS
*
eos
,
double
Q
[7],
double
&
e
,
double
&
p
,
double
&nb,
9
double
&nq,
double
&
ns
,
double
&
vx
,
double
&
vy
,
double
&
vz
);
10
11
// the same, except that known bulk pressure Pi is taken into account
12
void
transformPVBulk
(
EoS
*
eos
,
double
Pi,
double
Q
[7],
double
&
e
,
double
&
p
,
13
double
&nb,
double
&nq,
double
&
ns
,
double
&
vx
,
double
&
vy
,
14
double
&
vz
);
15
16
// backward transformation from primitive -> conserved quantities
17
// input: (e,p,nb,nq,ns,vx,vy,vz)
18
// output: Q[7]
19
void
transformCV
(
double
e
,
double
p
,
double
nb,
double
nq,
double
ns
,
double
vx
,
20
double
vy
,
double
vz
,
double
Q
[]);
JETSCAPE
blob
main
jail
vhlle
src
rmn.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:24
using
1.8.2 with
sPHENIX GitHub integration