17 template <
bool,
size_t>
18 class EquationOfState;
22 namespace NewtonianEuler::Limiters {
29 SetSolutionToMean = 2,
56 template <
size_t VolumeDim,
size_t ThermodynamicDim>
59 gsl::not_null<tnsr::I<DataVector, VolumeDim>*> momentum_density,
64 equation_of_state) noexcept;
Contains all equations of state, including base class.
Definition: DarkEnergyFluid.hpp:26
Base class for equations of state depending on whether or not the system is relativistic,...
Definition: EquationOfState.hpp:63
FlattenerAction
Encodes the action taken by flatten_solution
Definition: Flattener.hpp:26
Stores a collection of function values.
Definition: DataVector.hpp:46
Holds the number of grid points, basis, and quadrature in each direction of the computational grid.
Definition: Mesh.hpp:48
Tensor< T, Symmetry<>, index_list<> > Scalar
Definition: TypeAliases.hpp:21
FlattenerAction flatten_solution(gsl::not_null< Scalar< DataVector > * > mass_density_cons, gsl::not_null< tnsr::I< DataVector, VolumeDim > * > momentum_density, gsl::not_null< Scalar< DataVector > * > energy_density, const Mesh< VolumeDim > &mesh, const Scalar< DataVector > &det_logical_to_inertial_jacobian, const EquationsOfState::EquationOfState< false, ThermodynamicDim > &equation_of_state) noexcept
Scale a NewtonianEuler solution around its mean to remove pointwise positivity violations.
Require a pointer to not be a nullptr
Definition: ReadSpecThirdOrderPiecewisePolynomial.hpp:13