Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ExcitGenSessionType), | intent(inout) | :: | session |
subroutine DestructSession(session)
implicit none
type(ExcitGenSessionType), intent(inout) :: session
if (allocated(session%nI)) deallocate(session%nI)
if (allocated(session%holes)) deallocate(session%holes)
call DestructExcitVecs(session)
end subroutine DestructSession