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

Device backend for entropy viscosity regularization.

Data Types

interface  hip_entropy_visc_apply_element_max
 
interface  hip_entropy_visc_clamp_to_low_order
 
interface  hip_entropy_visc_compute_residual
 
interface  hip_entropy_visc_compute_viscosity
 
interface  hip_entropy_visc_smooth_divide
 

Functions/Subroutines

subroutine, public entropy_viscosity_compute_residual_device (entropy_residual_d, s_d, s_lag1_d, s_lag2_d, s_lag3_d, bdf_coeffs, dt, n)
 Compute entropy residual on device.
 
subroutine, public entropy_viscosity_compute_viscosity_device (reg_coeff_d, entropy_residual_d, h_d, c_avisc_entropy, n_s, n)
 Compute viscosity from entropy residual on device.
 
subroutine, public entropy_viscosity_apply_element_max_device (reg_coeff_d, lx, nelv)
 Apply element-wise maximum on device.
 
subroutine, public entropy_viscosity_clamp_to_low_order_device (reg_coeff_d, h_d, max_wave_speed_d, c_avisc_low, n)
 Clamp regularization coefficient to low-order viscosity on device.
 
subroutine, public entropy_viscosity_smooth_divide_device (reg_coeff_d, temp_field_d, mult_field_d, n)
 Divide by multiplicity for smoothing on device.
 

Function/Subroutine Documentation

◆ entropy_viscosity_apply_element_max_device()

subroutine, public entropy_viscosity_device::entropy_viscosity_apply_element_max_device ( type(c_ptr), intent(in reg_coeff_d,
integer, intent(in lx,
integer, intent(in nelv 
)

Definition at line 272 of file entropy_viscosity_device.F90.

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

◆ entropy_viscosity_clamp_to_low_order_device()

subroutine, public entropy_viscosity_device::entropy_viscosity_clamp_to_low_order_device ( type(c_ptr), intent(in reg_coeff_d,
type(c_ptr), intent(in h_d,
type(c_ptr), intent(in max_wave_speed_d,
real(kind=rp), intent(in c_avisc_low,
integer, intent(in n 
)

Definition at line 288 of file entropy_viscosity_device.F90.

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

◆ entropy_viscosity_compute_residual_device()

subroutine, public entropy_viscosity_device::entropy_viscosity_compute_residual_device ( type(c_ptr), intent(in entropy_residual_d,
type(c_ptr), intent(in s_d,
type(c_ptr), intent(in s_lag1_d,
type(c_ptr), intent(in s_lag2_d,
type(c_ptr), intent(in s_lag3_d,
real(kind=rp), dimension(4), intent(in bdf_coeffs,
real(kind=rp), intent(in dt,
integer, intent(in n 
)

Definition at line 225 of file entropy_viscosity_device.F90.

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

◆ entropy_viscosity_compute_viscosity_device()

subroutine, public entropy_viscosity_device::entropy_viscosity_compute_viscosity_device ( type(c_ptr), intent(in reg_coeff_d,
type(c_ptr), intent(in entropy_residual_d,
type(c_ptr), intent(in h_d,
real(kind=rp), intent(in c_avisc_entropy,
real(kind=rp), intent(in n_s,
integer, intent(in n 
)

Definition at line 251 of file entropy_viscosity_device.F90.

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

◆ entropy_viscosity_smooth_divide_device()

subroutine, public entropy_viscosity_device::entropy_viscosity_smooth_divide_device ( type(c_ptr), intent(in reg_coeff_d,
type(c_ptr), intent(in temp_field_d,
type(c_ptr), intent(in mult_field_d,
integer, intent(in n 
)

Definition at line 309 of file entropy_viscosity_device.F90.

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