Neko 1.99.6
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_ns_flux_finalize
 
interface  hip_ns_flux_prepare
 
interface  hip_ns_flux_temperature
 
interface  hip_update_e
 
interface  hip_update_mxyz_p_ruvw
 
interface  hip_update_temperature
 
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.
 
subroutine, public compressible_ops_device_update_temperature (t_d, p_d, rho_d, gamma, n)
 Update temperature field.
 
subroutine, public compressible_ops_device_ns_flux_prepare (div_flux_d, dissipation_d, h1_d, dudx_d, dudy_d, dudz_d, dvdx_d, dvdy_d, dvdz_d, dwdx_d, dwdy_d, dwdz_d, mu_d, n)
 Prepare physical Navier-Stokes flux work arrays.
 
subroutine, public compressible_ops_device_ns_flux_finalize (visc_m_x_d, visc_m_y_d, visc_m_z_d, visc_e_d, f_x_d, f_y_d, f_z_d, opgrad_x_d, opgrad_y_d, opgrad_z_d, u_d, v_d, w_d, b_d, dissipation_d, n)
 Finish physical Navier-Stokes flux assembly.
 
subroutine, public compressible_ops_device_ns_flux_temperature (div_flux_d, h1_d, p_d, rho_d, kappa_d, gamma, n)
 Prepare temperature and conductivity coefficient for energy flux.
 

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 515 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 490 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_ns_flux_finalize()

subroutine, public compressible_ops_device::compressible_ops_device_ns_flux_finalize ( type(c_ptr), intent(inout visc_m_x_d,
type(c_ptr), intent(inout visc_m_y_d,
type(c_ptr), intent(inout visc_m_z_d,
type(c_ptr), intent(inout visc_e_d,
type(c_ptr), intent(inout f_x_d,
type(c_ptr), intent(inout f_y_d,
type(c_ptr), intent(inout f_z_d,
type(c_ptr), intent(in opgrad_x_d,
type(c_ptr), intent(in opgrad_y_d,
type(c_ptr), intent(in opgrad_z_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 b_d,
type(c_ptr), intent(in dissipation_d,
integer, intent(in n 
)

Definition at line 660 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_ns_flux_prepare()

subroutine, public compressible_ops_device::compressible_ops_device_ns_flux_prepare ( type(c_ptr), intent(inout div_flux_d,
type(c_ptr), intent(inout dissipation_d,
type(c_ptr), intent(inout h1_d,
type(c_ptr), intent(in dudx_d,
type(c_ptr), intent(in dudy_d,
type(c_ptr), intent(in dudz_d,
type(c_ptr), intent(in dvdx_d,
type(c_ptr), intent(in dvdy_d,
type(c_ptr), intent(in dvdz_d,
type(c_ptr), intent(in dwdx_d,
type(c_ptr), intent(in dwdy_d,
type(c_ptr), intent(in dwdz_d,
type(c_ptr), intent(in mu_d,
integer, intent(in n 
)

Definition at line 628 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_ns_flux_temperature()

subroutine, public compressible_ops_device::compressible_ops_device_ns_flux_temperature ( type(c_ptr), intent(inout div_flux_d,
type(c_ptr), intent(inout h1_d,
type(c_ptr), intent(in p_d,
type(c_ptr), intent(in rho_d,
type(c_ptr), intent(in kappa_d,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 692 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 584 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 557 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_temperature()

subroutine, public compressible_ops_device::compressible_ops_device_update_temperature ( type(c_ptr), intent(inout t_d,
type(c_ptr), intent(in p_d,
type(c_ptr), intent(in rho_d,
real(kind=rp), intent(in gamma,
integer, intent(in n 
)

Definition at line 606 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 535 of file compressible_ops_device.F90.

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