52 const Real u = _data._u_vel[_data._qp];
53 const Real v = _data._v_vel[_data._qp];
54 const Real w = _data._w_vel[_data._qp];
56 const Real vel2 = (u * u +
v *
v + w * w);
57 const Real gam = _data._fp.gamma();
62 return 0.5 * (gam - 1.0) * vel2;
65 return (1.0 - gam) * u;
68 return (1.0 - gam) *
v;
71 return (1.0 - gam) * w;
87 const Real U0 = _data._rho[_data._qp];
89 const Real u = _data._u_vel[_data._qp];
90 const Real v = _data._v_vel[_data._qp];
91 const Real w = _data._w_vel[_data._qp];
92 const Real vel2 = (u * u +
v *
v + w * w);
95 const Real gam = _data._fp.gamma();
98 const Real tmp = (1.0 - gam) / U0;
105 const unsigned int idx = 5 * i +
j;
Class outside the Moose hierarchy that contains common functionality for computing derivatives of the...
Real get_grad(unsigned i)
The primary interfaces for computing pressure derivatives.
void mooseError(Args &&... args)
Real get_hess(unsigned i, unsigned j)
const std::vector< double > x
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string v
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")