ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
Loading...
Searching...
No Matches
barotropic_equation_of_state_pressureless.h
Go to the documentation of this file.
1//
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3// Copyright (C) 2025 by the ryujin authors
4//
5
6#pragma once
7
8#include <compile_time_options.h>
9
11
12namespace ryujin
13{
14 namespace BarotropicEquationOfStateLibrary
15 {
22 {
23 public:
24 Pressureless(const std::string &subsection)
25 : BarotropicEquationOfState("pressureless", subsection)
26 {
27 }
28
29 double pressure(double /*rho*/) const final
30 {
31 return 0.;
32 }
33
34 double specific_internal_energy(double /*rho*/) const final
35 {
36 return 0.;
37 }
38
39 double speed_of_sound(double /*rho*/) const final
40 {
41 return 0.;
42 }
43 };
44 } // namespace BarotropicEquationOfStateLibrary
45} // namespace ryujin