getContainingVCell Interface

interface
private pure module function getContainingVCell(this, v) result(ind)

Arguments

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

Return Value integer(kind=ik)

Description

Return index of cell which containes the given velocity value v. If the returned index is 0, the point is outside of the grid.