51 module subroutine compressible_rhs_factory(object, gamma)
52 class(compressible_rhs_t),
allocatable,
intent(inout) :: object
53 real(kind=rp),
intent(in) :: gamma
55 if (
allocated(object))
then
76 end subroutine compressible_rhs_factory
83 module subroutine compressible_rhs_set_physical_flux(add_flux, add_stress)
84 logical,
intent(in) :: add_flux
85 logical,
intent(in) :: add_stress
95 end subroutine compressible_rhs_set_physical_flux
97end submodule compressible_res_fctry
This implements CPU-based residual calculations for the compressible equations. It handles the time a...
logical, public compressible_res_cpu_add_physical_stress
Whether physical viscous stress is active for the current step. Set by compressible_rhs_set_physical_...
logical, public compressible_res_cpu_add_physical_flux
Whether physical Navier-Stokes fluxes are active for the current step. Set by compressible_rhs_set_ph...
real(kind=rp), public compressible_res_cpu_gamma
Module variable to store thermodynamic parameter set by factory.
logical, public compressible_res_device_add_physical_flux
Whether physical Navier-Stokes fluxes are active for the current step. Set by compressible_rhs_set_ph...
real(kind=rp), public compressible_res_device_gamma
Module variable to store thermodynamic parameter set by factory.
logical, public compressible_res_device_add_physical_stress
Whether physical viscous stress is active for the current step. Set by compressible_rhs_set_physical_...
integer, parameter neko_bcknd_device