num_positions Function

private pure function num_positions(self)

Number of positions (at most num_times).

Type Bound

Trajectory

Arguments

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

Return Value integer


Source Code

    pure integer function num_positions(self)
        class(Trajectory), intent(in) :: self
        num_positions = self%n_pos
    end function num_positions