Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
compressible_ops_cpu Module Reference

CPU implementation of compressible flow operations.

Functions/Subroutines

subroutine, public compressible_ops_cpu_compute_max_wave_speed (max_wave_speed, u, v, w, gamma, p, rho, n)
 Compute maximum wave speed for compressible flows on CPU.
 
subroutine, public compressible_ops_cpu_compute_entropy (s, p, rho, gamma, n)
 Compute entropy field S = 1/(gamma-1) * rho * (log(p) - gamma * log(rho)) on CPU.
 

Function/Subroutine Documentation

◆ compressible_ops_cpu_compute_entropy()

subroutine, public compressible_ops_cpu::compressible_ops_cpu_compute_entropy ( real(kind=rp), dimension(n), intent(inout s,
real(kind=rp), dimension(n), intent(in p,
real(kind=rp), dimension(n), intent(in rho,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 63 of file compressible_ops_cpu.f90.

◆ compressible_ops_cpu_compute_max_wave_speed()

subroutine, public compressible_ops_cpu::compressible_ops_cpu_compute_max_wave_speed ( real(kind=rp), dimension(n), intent(inout max_wave_speed,
real(kind=rp), dimension(n), intent(in u,
real(kind=rp), dimension(n), intent(in v,
real(kind=rp), dimension(n), intent(in w,
real(kind=rp), intent(in gamma,
real(kind=rp), dimension(n), intent(in p,
real(kind=rp), dimension(n), intent(in rho,
integer, intent(in n 
)

Definition at line 45 of file compressible_ops_cpu.f90.