dbcsr_heap_release Subroutine

public subroutine dbcsr_heap_release(heap)

Arguments

Type IntentOptional Attributes Name
type(dbcsr_heap_type), intent(inout) :: heap

Source Code

   SUBROUTINE dbcsr_heap_release(heap)
      TYPE(dbcsr_heap_type), INTENT(INOUT)               :: heap

      DEALLOCATE (heap%index)
      DEALLOCATE (heap%nodes)
      heap%n = 0
   END SUBROUTINE dbcsr_heap_release