step_hermite Function

public pure function step_hermite(x0, x, wx, order)

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

Arguments

Type IntentOptional 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

Return Value real(kind=fp)


Calls

proc~~step_hermite~~CallsGraph proc~step_hermite step_hermite proc~binomial_coefficient_r binomial_coefficient_r proc~step_hermite->proc~binomial_coefficient_r proc~heaviside heaviside proc~step_hermite->proc~heaviside

Called by

proc~~step_hermite~~CalledByGraph proc~step_hermite step_hermite proc~aux_sigmoid_func aux_sigmoid_func_t%aux_sigmoid_func proc~aux_sigmoid_func->proc~step_hermite proc~bx~2 cerfons_t%bx proc~bx~2->proc~step_hermite proc~by~2 cerfons_t%by proc~by~2->proc~step_hermite proc~init~9 immersed_rho_t%init proc~init~9->proc~step_hermite proc~sigmoid sigmoid proc~sigmoid->proc~step_hermite proc~init immersed_trace_t%init proc~init->proc~sigmoid