PrimitiveRecoveryData.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 namespace grmhd {
7 namespace ValenciaDivClean {
8 
9 /// \brief Schemes for recovering primitive variables from conservative
10 /// variables.
11 namespace PrimitiveRecoverySchemes {
12 
13 /*!
14  * \brief Data determined by PrimitiveRecoverySchemes at a single grid point.
15  *
16  * `rho_h_w_squared` is \f$\rho h W^2\f$ where \f$\rho\f$ is the rest mass
17  * density, \f$h\f$ is the specific enthalpy, and \f$W\f$ is the Lorentz factor.
18  */
20  double rest_mass_density;
21  double lorentz_factor;
22  double pressure;
23  double rho_h_w_squared;
24 };
25 } // namespace PrimitiveRecoverySchemes
26 } // namespace ValenciaDivClean
27 } // namespace grmhd
Items related to general relativistic magnetohydrodynamics (GRMHD)
Definition: Characteristics.hpp:34
Data determined by PrimitiveRecoverySchemes at a single grid point.
Definition: PrimitiveRecoveryData.hpp:19