getNearestPoints Interface

interface
private pure module function getNearestPoints(this, v) result(pair)

Arguments

Type IntentOptional Attributes Name
class(VSpace), intent(in) :: this
real(kind=rk), intent(in) :: v

Return Value integer(kind=ik),dimension(2)

Description

Return two nearest points for given velocity value v. If the first point is 0, the velocity is below the lowest velocity in the grid, and if the second point is 0 the velocity is above the greatest v in the grid.