Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
CPU implementations of the filter functions. More...
Functions/Subroutines | |
elemental real(kind=rp) function | smooth_step_cpu (x, edge0, edge1) |
Apply a smooth step function to a scalar. More... | |
elemental real(kind=rp) function | clamp_cpu (x, lowerlimit, upperlimit) |
Clamp a value between two limits. More... | |
elemental real(kind=rp) function | step_function_cpu (x, x_step, value0, value1) |
Apply a step function to a scalar. More... | |
elemental real(kind=rp) function | permeability_cpu (x, k_0, k_1, q) |
Apply a permeability function to a scalar. More... | |
CPU implementations of the filter functions.
elemental real(kind=rp) function filters_cpu::clamp_cpu | ( | real(kind=rp), intent(in) | x, |
real(kind=rp), intent(in) | lowerlimit, | ||
real(kind=rp), intent(in) | upperlimit | ||
) |
Clamp a value between two limits.
Definition at line 57 of file filters_cpu.f90.
elemental real(kind=rp) function filters_cpu::permeability_cpu | ( | real(kind=rp), intent(in) | x, |
real(kind=rp), intent(in) | k_0, | ||
real(kind=rp), intent(in) | k_1, | ||
real(kind=rp), intent(in) | q | ||
) |
Apply a permeability function to a scalar.
Definition at line 75 of file filters_cpu.f90.
elemental real(kind=rp) function filters_cpu::smooth_step_cpu | ( | real(kind=rp), intent(in) | x, |
real(kind=rp), intent(in) | edge0, | ||
real(kind=rp), intent(in) | edge1 | ||
) |
Apply a smooth step function to a scalar.
Definition at line 45 of file filters_cpu.f90.
elemental real(kind=rp) function filters_cpu::step_function_cpu | ( | real(kind=rp), intent(in) | x, |
real(kind=rp), intent(in) | x_step, | ||
real(kind=rp), intent(in) | value0, | ||
real(kind=rp), intent(in) | value1 | ||
) |
Apply a step function to a scalar.
Definition at line 66 of file filters_cpu.f90.