Write communication type data to nUnit (debugging routine)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_communication_type), | intent(in) | :: | me | |||
integer, | intent(in) | :: | nUnit |
subroutine tem_comm_dumpType(me, nUnit)
! -------------------------------------------------------------------- !
type( tem_communication_type ), intent(in) :: me
integer, intent(in) :: nUnit
! -------------------------------------------------------------------- !
write(nUnit,*) '---- Communication type -----------------------'
write(nUnit,"(A,I0)") ' nProcs: ', me%nProcs
write(nUnit,"(A )") ' proc: '//trim(tem_toStr( me%proc, ',' ))
write(nUnit,"(A )") ' nElemsProc: ' &
& // trim(tem_toStr( me%nElemsProc, ',' ))
write(nUnit,*) '---------------------------------------------'
end subroutine tem_comm_dumpType