47 real(kind=
rp) :: gamma = 1.4_rp
54 subroutine compressible_rhs(rho_field, m_x, m_y, m_z, E, p, u, v, w, Ax, &
55 Ax_stress, coef, gs, artificial_visc, mu, kappa, bcs_vel, time, &
65 type(
field_t),
intent(inout) :: rho_field, m_x, m_y, m_z, E
66 type(
field_t),
intent(in) :: p, u, v, w, artificial_visc, mu, kappa
67 class(
ax_t),
intent(inout) :: Ax, Ax_stress
68 type(
coef_t),
intent(inout) :: coef
69 type(
gs_t),
intent(inout) :: gs
73 real(kind=
rp),
intent(in) :: dt
79 module subroutine compressible_rhs_factory(object, gamma)
80 class(compressible_rhs_t),
allocatable,
intent(inout) :: object
81 real(kind=
rp),
intent(in) :: gamma
82 end subroutine compressible_rhs_factory
92 module subroutine compressible_rhs_set_physical_flux(add_flux, add_stress)
93 logical,
intent(in) :: add_flux
94 logical,
intent(in) :: add_stress
95 end subroutine compressible_rhs_set_physical_flux
98 public :: compressible_rhs_factory, compressible_rhs_set_physical_flux
Abstract interface to evaluate rhs.
Defines a Matrix-vector product.
integer, parameter, public rp
Global precision used in computations.
Module with things related to the simulation time.
Base type for a matrix-vector product providing .
A list of allocatable `bc_t`. Follows the standard interface of lists.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
Abstract type to compute rhs.
A struct that contains all info about the time, expand as needed.