vec_dp_is_empty Function

private pure function vec_dp_is_empty(self) result(flag)

.true. when there are no live elements.

Type Bound

vector_dp_t

Arguments

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

Return Value logical


Source Code

   pure function vec_dp_is_empty(self) result(flag)
      !! `.true.` when there are no live elements.
      class(vector_dp_t), intent(in) :: self
      logical :: flag

      flag = (self%n_items == 0)
   end function vec_dp_is_empty