Neko  0.8.99
A portable framework for high-order spectral element flow simulations
filters_cpu Module Reference

CPU implementations of the filter functions.

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...
 

Function/Subroutine Documentation

◆ clamp_cpu()

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 
)

Definition at line 57 of file filters_cpu.f90.

Here is the caller graph for this function:

◆ permeability_cpu()

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 
)

Definition at line 75 of file filters_cpu.f90.

Here is the caller graph for this function:

◆ smooth_step_cpu()

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 
)

Definition at line 45 of file filters_cpu.f90.

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

◆ step_function_cpu()

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 
)

Definition at line 66 of file filters_cpu.f90.

Here is the caller graph for this function: