52 const Real U0 = _data._rho[_data._qp];
53 const Real U1 = _data._rho_u[_data._qp];
54 const Real U2 = _data._rho_v[_data._qp];
55 const Real U3 = _data._rho_w[_data._qp];
56 const Real U4 = _data._rho_et[_data._qp];
58 const Real rho2 = U0 * U0;
59 const Real mom2 = U1 * U1 + U2 * U2 + U3 * U3;
60 const Real tmp = -1.0 / rho2 / _data._fp.cv();
65 return (U4 - (mom2 / U0)) * tmp;
90 const Real U0 = _data._rho[_data._qp];
91 const Real U1 = _data._rho_u[_data._qp];
92 const Real U2 = _data._rho_v[_data._qp];
93 const Real U3 = _data._rho_w[_data._qp];
94 const Real U4 = _data._rho_et[_data._qp];
96 const Real rho2 = U0 * U0;
97 const Real rho3 = rho2 * U0;
98 const Real rho4 = rho3 * U0;
99 const Real mom2 = U1 * U1 + U2 * U2 + U3 * U3;
101 const Real cv = _data._fp.cv();
102 const Real tmp = -1.0 / rho2 /
cv;
109 unsigned idx = 5 * i +
j;
115 return 2.0 * U4 / rho3 /
cv - 3.0 * mom2 / rho4 /
cv;
119 return 2.0 * U1 / rho3 /
cv;
126 return 2.0 * U2 / rho3 /
cv;
133 return 2.0 * U3 / rho3 /
cv;
static const std::string cv
Class outside the Moose hierarchy that contains common functionality for computing derivatives of the...
void mooseError(Args &&... args)
Real get_grad(unsigned i)
The primary interfaces for computing temperature derivatives.
const std::vector< double > x
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
Real get_hess(unsigned i, unsigned j)
NSTemperatureDerivs(T &x)