Neko 1.99.2
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.
 
subroutine, public compressible_ops_cpu_update_uvw (u, v, w, m_x, m_y, m_z, rho, n)
 Update u,v,w fields.
 
subroutine, public compressible_ops_cpu_update_mxyz_p_ruvw (m_x, m_y, m_z, p, ruvw, u, v, w, e, rho, gamma, n)
 Update m_x, m_y, m_z, p, ruvw, fields.
 
subroutine, public compressible_ops_cpu_update_e (e, p, ruvw, gamma, n)
 Update E field.
 

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 68 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 47 of file compressible_ops_cpu.f90.

◆ compressible_ops_cpu_update_e()

subroutine, public compressible_ops_cpu::compressible_ops_cpu_update_e ( real(kind=rp), dimension(n), intent(inout e,
real(kind=rp), dimension(n), intent(inout p,
real(kind=rp), dimension(n), intent(in ruvw,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 124 of file compressible_ops_cpu.f90.

◆ compressible_ops_cpu_update_mxyz_p_ruvw()

subroutine, public compressible_ops_cpu::compressible_ops_cpu_update_mxyz_p_ruvw ( real(kind=rp), dimension(n), intent(inout m_x,
real(kind=rp), dimension(n), intent(inout m_y,
real(kind=rp), dimension(n), intent(inout m_z,
real(kind=rp), dimension(n), intent(inout p,
real(kind=rp), dimension(n), intent(inout ruvw,
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), dimension(n), intent(in e,
real(kind=rp), dimension(n), intent(in rho,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 99 of file compressible_ops_cpu.f90.

◆ compressible_ops_cpu_update_uvw()

subroutine, public compressible_ops_cpu::compressible_ops_cpu_update_uvw ( real(kind=rp), dimension(n), intent(inout u,
real(kind=rp), dimension(n), intent(inout v,
real(kind=rp), dimension(n), intent(inout w,
real(kind=rp), dimension(n), intent(in m_x,
real(kind=rp), dimension(n), intent(in m_y,
real(kind=rp), dimension(n), intent(in m_z,
real(kind=rp), dimension(n), intent(in rho,
integer, intent(in n 
)

Definition at line 84 of file compressible_ops_cpu.f90.