fixed_array_dp_clear Subroutine

private pure subroutine fixed_array_dp_clear(self)

Drop every element. The storage itself is untouched, so this is a single integer assignment; the array can be reused immediately.

Type Bound

fixed_array_dp_t

Arguments

Type IntentOptional Attributes Name
class(fixed_array_dp_t), intent(inout) :: self

Source Code

   pure subroutine fixed_array_dp_clear(self)
      !! Drop every element. The storage itself is untouched, so this is a
      !! single integer assignment; the array can be reused immediately.
      class(fixed_array_dp_t), intent(inout) :: self

      self%n_items = 0_default_int
   end subroutine fixed_array_dp_clear