Smooth step function based on hyperbolic tangent
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=FP), | intent(in) | :: | x0 |
Position of center of step |
||
| real(kind=FP), | intent(in) | :: | x |
Position where function is evaluated |
||
| real(kind=FP), | intent(in), | optional | :: | wx |
Width of step, if set to zero yields heaviside function |