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

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.
 

Function/Subroutine Documentation

◆ clamp_kernel()

elemental real(kind=rp) function filters_cpu::clamp_kernel ( real(kind=rp), intent(in x,
real(kind=rp), intent(in lowerlimit,
real(kind=rp), intent(in upperlimit 
)
private

Definition at line 90 of file filters_cpu.f90.

Here is the caller graph for this function:

◆ permeability_cpu()

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.

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

◆ permeability_kernel()

elemental real(kind=rp) function filters_cpu::permeability_kernel ( 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 
)
private

Definition at line 108 of file filters_cpu.f90.

Here is the caller graph for this function:

◆ smooth_step_cpu()

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.

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

◆ smooth_step_kernel()

elemental real(kind=rp) function filters_cpu::smooth_step_kernel ( real(kind=rp), intent(in x,
real(kind=rp), intent(in edge0,
real(kind=rp), intent(in edge1 
)
private

Definition at line 78 of file filters_cpu.f90.

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

◆ step_function_cpu()

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.

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

◆ step_function_kernel()

elemental real(kind=rp) function filters_cpu::step_function_kernel ( 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 
)
private

Definition at line 99 of file filters_cpu.f90.

Here is the caller graph for this function: