Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ps_t), | intent(in) | :: | ps |
function ps_Provenance_Depth(ps) result(n)
type(ps_t), intent(in) :: ps
integer :: n
type(provenance_t), pointer :: p
n = 0
p => ps%provenance
do while (associated(p))
n = n + 1
p => p%next
enddo
end function ps_Provenance_Depth