Smooth step function based on Hermite interpolation exactly zero for x < wx/2 and one for x > wx/2 see https://en.wikipedia.org/wiki/Smoothstep
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=FP), | intent(in) | :: | x0 |
Position of step |
||
| real(kind=FP), | intent(in) | :: | x |
Position where function is evaluated |
||
| real(kind=FP), | intent(in), | optional | :: | wx |
Width of step |
|
| integer, | intent(in), | optional | :: | order |
Order of smoothstep function Default value 2 |