Device implementations of the mapping functions.
|
| subroutine | smooth_step_device (x, edge0, edge1, n) |
| | Apply a smooth step function to a scalar.
|
| subroutine | step_function_device (x, x_step, value0, value1, n) |
| | Apply a step function to a scalar.
|
| subroutine | permeability_device (x, k_0, k_1, q, n) |
| | Apply a permeability function to a scalar.
|
◆ permeability_device()
| subroutine mappings_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 mappings_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 mappings_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 ) |