Defines a Heaviside function, including Gibbs oscillations.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public | :: | center | The location of the jump |
|||
integer, | public | :: | order | Approximation order |
|||
real(kind=rk), | public | :: | left | Asymptotic function value left of the jump |
|||
real(kind=rk), | public | :: | right | Asymptotic function value right of the jump |
type tem_heaviside_gibbs_type
!> The location of the jump
real(kind=rk) :: center
!> Approximation order
integer :: order
!> Asymptotic function value left of the jump
real(kind=rk) :: left
!> Asymptotic function value right of the jump
real(kind=rk) :: right
end type tem_heaviside_gibbs_type