Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
CPU implementations of the filter functions.
Functions/Subroutines | |
subroutine, public | smooth_step_cpu (x, edge0, edge1, n) |
Apply a smooth step function to a scalar. | |
subroutine, public | step_function_cpu (x, x_step, value0, value1, n) |
Apply a step function to a scalar. | |
subroutine, public | permeability_cpu (x, k_0, k_1, q, n) |
Apply a permeability function to a scalar. | |
elemental real(kind=rp) function | smooth_step_kernel (x, edge0, edge1) |
Apply a smooth step function to a scalar. | |
elemental real(kind=rp) function | clamp_kernel (x, lowerlimit, upperlimit) |
Clamp a value between two limits. | |
elemental real(kind=rp) function | step_function_kernel (x, x_step, value0, value1) |
Apply a step function to a scalar. | |
elemental real(kind=rp) function | permeability_kernel (x, k_0, k_1, q) |
Apply a permeability function to a scalar. | |
subroutine, public filters_cpu::permeability_cpu | ( | real(kind=rp), dimension(n), intent(inout) | x, |
real(kind=rp), intent(in) | k_0, | ||
real(kind=rp), intent(in) | k_1, | ||
real(kind=rp), intent(in) | q, | ||
integer, intent(in) | n | ||
) |
Definition at line 63 of file filters_cpu.f90.
subroutine, public filters_cpu::smooth_step_cpu | ( | real(kind=rp), dimension(n), intent(inout) | x, |
real(kind=rp), intent(in) | edge0, | ||
real(kind=rp), intent(in) | edge1, | ||
integer, intent(in) | n | ||
) |
Definition at line 43 of file filters_cpu.f90.
|
private |
Definition at line 78 of file filters_cpu.f90.
subroutine, public filters_cpu::step_function_cpu | ( | real(kind=rp), dimension(n), intent(inout) | x, |
real(kind=rp), intent(in) | x_step, | ||
real(kind=rp), intent(in) | value0, | ||
real(kind=rp), intent(in) | value1, | ||
integer, intent(in) | n | ||
) |
Definition at line 53 of file filters_cpu.f90.