EtoHthermo.H
Go to the documentation of this file.
1 inline scalar Cp
2 (
3  const scalar p,
4  const scalar T
5 ) const
6 {
7  #ifdef __clang__
8  volatile const scalar cv = Cv(p, T);
9  volatile const scalar cpmcv = EquationOfState::CpMCv(p, T);
10  return cv + cpmcv;
11  #else
12  return Cv(p, T) + EquationOfState::CpMCv(p, T);
13  #endif
14 }
15 
16 inline scalar Hs
17 (
18  const scalar p,
19  const scalar T
20 ) const
21 {
22  #ifdef __clang__
23  volatile const scalar es = Es(p, T);
24  volatile const scalar rho = EquationOfState::rho(p, T);
25  return es + p/rho;
26  #else
27  return Es(p, T) + p/EquationOfState::rho(p, T);
28  #endif
29 }
30 
31 inline scalar Ha
32 (
33  const scalar p,
34  const scalar T
35 ) const
36 {
37  #ifdef __clang__
38  volatile const scalar ea = Ea(p, T);
39  volatile const scalar rho = EquationOfState::rho(p, T);
40  return ea + p/rho;
41  #else
42  return Ea(p, T) + p/EquationOfState::rho(p, T);
43  #endif
44 }
p
volScalarField & p
Definition: createFieldRefs.H:8
Hs
scalar Hs(const scalar p, const scalar T) const
Definition: EtoHthermo.H:17
Cv
const volScalarField & Cv
Definition: EEqn.H:8
rho
rho
Definition: readInitialConditions.H:96
Ea
scalar Ea(const scalar p, const scalar T) const
Definition: HtoEthermo.H:32
T
const volScalarField & T
Definition: createFieldRefs.H:2
Cp
scalar Cp(const scalar p, const scalar T) const
Definition: EtoHthermo.H:2
Es
scalar Es(const scalar p, const scalar T) const
Definition: HtoEthermo.H:17
Ha
scalar Ha(const scalar p, const scalar T) const
Definition: EtoHthermo.H:32