Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_sparta_type), | intent(in) | :: | me | |||
integer, | intent(in) | :: | outUnit |
subroutine tem_output_sparta( me, outUnit ) type( tem_sparta_type ), intent(in) :: me integer, intent(in) :: outUnit if ( allocated( me%send_count ) ) then write(outUnit, "(A,I0)") "Old size: ", me%old_size write(outUnit, "(A,I0)") "New size: ", me%new_size write(outUnit, "(A,I0)") "Size of send_count: ", size(me%send_count) write(outUnit, *) "Send_index: ", me%send_index(:) write(outUnit, *) "Send_count: ", me%send_count(:) write(outUnit, *) "Recv_index: ", me%recv_index(:) write(outUnit, *) "Recv_count: ", me%recv_count(:) else write(outUnit, *) "Data is NOT allocated!" end if end subroutine tem_output_sparta