Computes the span and multiplicity of a knot
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(basis), | intent(in) | :: | me | |||
real(kind=wp), | intent(in) | :: | u | Given value |
||
integer, | intent(out) | :: | k | Knot span index of value |
||
integer, | intent(out) | :: | s | Multiplicity of value |
pure elemental subroutine FindSpanMult(me,u,k,s)
class(basis), intent(in) :: me
real(wp), intent(in) :: u !< Given \( u \) value
integer, intent(out) :: k !< Knot span index of \( u \) value
integer, intent(out) :: s !< Multiplicity of \( u \) value
k = me%FindSpan(u)
s = me%FindMult(k,u)
end subroutine FindSpanMult