Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ExcitGenSessionType), | intent(inout) | :: | session |
subroutine DestructExcitVecs(session)
implicit none
type(ExcitGenSessionType), intent(inout) :: session
if (allocated(session%elecIndices)) deallocate(session%elecIndices)
if (allocated(session%holeIndices)) deallocate(session%holeIndices)
if (allocated(session%elecSpinOrbs)) deallocate(session%elecSpinOrbs)
if (allocated(session%holeSpinOrbs)) deallocate(session%holeSpinOrbs)
end subroutine DestructExcitVecs