distance Function

private pure function distance(self)

The distance between the body and the light at the last update.

Type Bound

ShadowCones

Arguments

Type IntentOptional Attributes Name
class(ShadowCones), intent(in) :: self

Return Value real(kind=wp)


Source Code

    pure real(wp) function distance(self)
        class(ShadowCones), intent(in) :: self
        distance = self%distance_
    end function distance