Subroutine to destroy the PFASST communicator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_comm_t), | intent(inout) | :: | pf_comm |
subroutine pf_mpi_destroy(pf_comm)
type(pf_comm_t), intent(inout) :: pf_comm
deallocate(pf_comm%recvreq)
deallocate(pf_comm%sendreq)
end subroutine pf_mpi_destroy