Device implementations of the filter functions.
|
subroutine | smooth_step_device (x, edge0, edge1, n) |
| Apply a smooth step function to a scalar. More...
|
|
subroutine | step_function_device (x, x_step, value0, value1, n) |
| Apply a step function to a scalar. More...
|
|
subroutine | permeability_device (x, k_0, k_1, q, n) |
| Apply a permeability function to a scalar. More...
|
|
◆ permeability_device()
subroutine filters_device::permeability_device |
( |
type(c_ptr), 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 |
|
) |
| |
◆ smooth_step_device()
subroutine filters_device::smooth_step_device |
( |
type(c_ptr), intent(inout) |
x, |
|
|
real(kind=rp), intent(in) |
edge0, |
|
|
real(kind=rp), intent(in) |
edge1, |
|
|
integer, intent(in) |
n |
|
) |
| |
◆ step_function_device()
subroutine filters_device::step_function_device |
( |
type(c_ptr), 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 |
|
) |
| |