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

Device implementation of compressible flow operations.

Data Types

interface  hip_compute_entropy
 
interface  hip_compute_max_wave_speed
 
interface  hip_update_e
 
interface  hip_update_mxyz_p_ruvw
 
interface  hip_update_uvw
 

Functions/Subroutines

subroutine, public compressible_ops_device_compute_max_wave_speed (max_wave_speed, u, v, w, gamma, p, rho, n)
 Compute maximum wave speed for compressible flows on device.
 
subroutine, public compressible_ops_device_compute_entropy (s, p, rho, gamma, n)
 Compute entropy field S = 1/(gamma-1) * rho * (log(p) - gamma * log(rho)) on device.
 
subroutine, public compressible_ops_device_update_uvw (u_d, v_d, w_d, m_x_d, m_y_d, m_z_d, rho_d, n)
 Update u,v,w fields.
 
subroutine, public compressible_ops_device_update_mxyz_p_ruvw (m_x_d, m_y_d, m_z_d, p_d, ruvw_d, u_d, v_d, w_d, e_d, rho_d, gamma, n)
 Update m_x, m_y, m_z, p, ruvw, fields.
 
subroutine, public compressible_ops_device_update_e (e_d, p_d, ruvw_d, gamma, n)
 Update E field.
 

Function/Subroutine Documentation

◆ compressible_ops_device_compute_entropy()

subroutine, public compressible_ops_device::compressible_ops_device_compute_entropy ( type(field_t), intent(inout s,
type(field_t), intent(in p,
type(field_t), intent(in rho,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 247 of file compressible_ops_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compressible_ops_device_compute_max_wave_speed()

subroutine, public compressible_ops_device::compressible_ops_device_compute_max_wave_speed ( type(field_t), intent(inout max_wave_speed,
type(field_t), intent(in u,
type(field_t), intent(in v,
type(field_t), intent(in w,
real(kind=rp), intent(in gamma,
type(field_t), intent(in p,
type(field_t), intent(in rho,
integer, intent(in n 
)

Definition at line 229 of file compressible_ops_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compressible_ops_device_update_e()

subroutine, public compressible_ops_device::compressible_ops_device_update_e ( type(c_ptr), intent(inout e_d,
type(c_ptr), intent(inout p_d,
type(c_ptr), intent(in ruvw_d,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 309 of file compressible_ops_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compressible_ops_device_update_mxyz_p_ruvw()

subroutine, public compressible_ops_device::compressible_ops_device_update_mxyz_p_ruvw ( type(c_ptr), intent(inout m_x_d,
type(c_ptr), intent(inout m_y_d,
type(c_ptr), intent(inout m_z_d,
type(c_ptr), intent(inout p_d,
type(c_ptr), intent(inout ruvw_d,
type(c_ptr), intent(in u_d,
type(c_ptr), intent(in v_d,
type(c_ptr), intent(in w_d,
type(c_ptr), intent(in e_d,
type(c_ptr), intent(in rho_d,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 285 of file compressible_ops_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compressible_ops_device_update_uvw()

subroutine, public compressible_ops_device::compressible_ops_device_update_uvw ( type(c_ptr), intent(inout u_d,
type(c_ptr), intent(inout v_d,
type(c_ptr), intent(inout w_d,
type(c_ptr), intent(in m_x_d,
type(c_ptr), intent(in m_y_d,
type(c_ptr), intent(in m_z_d,
type(c_ptr), intent(in rho_d,
integer, intent(in n 
)

Definition at line 265 of file compressible_ops_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function: