unaryFilter Module Function

pure module function unaryFilter(input, realParams, intParams, logicalParams) result(output)

Unary filter function, takes in two realParams, and returns the input, except where input=realParams(2)

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), dimension(:) :: input
real(kind=rk), intent(in), optional, dimension(:) :: realParams
integer(kind=ik), intent(in), optional, dimension(:) :: intParams
logical, intent(in), optional, dimension(:) :: logicalParams

Return Value real(kind=rk), allocatable, dimension(:)