g1_box Function

public pure function g1_box(r) result(val)

Filtering kernel with support from -1.0 to 1.0 Box filter (step function)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: r

Return Value real(kind=wp)